commit 5050fa8c61885938f07bb95d94044552b5aaaa7e Author: Dobrica Pavlinusic Date: Wed Mar 21 09:26:22 2012 +0100 emit DEBUG output to STDERR instead of STDOUT writing to STDOUT breaks plack diff --git a/C4/Auth.pm b/C4/Auth.pm index 679c4f7..acc51a7 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -1409,7 +1409,7 @@ sub checkpw { my ( $dbh, $userid, $password, $query ) = @_; if ($ldap) { - $debug and print "## checkpw - checking LDAP\n"; + $debug and print STDERR "## checkpw - checking LDAP\n"; my ($retval,$retcard,$retuserid) = checkpw_ldap(@_); # EXTERNAL AUTH ($retval) and return ($retval,$retcard,$retuserid); }