From d0b2d72e0b5506643ad01b9bfe9eaae860b9b5d3 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Wed, 21 Mar 2012 09:26:22 +0100 Subject: [PATCH] Bug 7766 - C4/Auth.pm: emit DEBUG output to STDERR writing to STDOUT breaks plack when running with DEBUG=1 Signed-off-by: Alex Arnaud Signed-off-by: Paul Poulain --- C4/Auth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index 0b737e774b..0d5ddbaa31 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -1424,7 +1424,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); } -- 2.39.5