s3-smbspool: Log to stderr
authorAndreas Schneider <asn@samba.org>
Wed, 25 May 2016 11:39:29 +0000 (13:39 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 25 May 2016 14:49:23 +0000 (16:49 +0200)
This way we will be able to see the log in the cups logs and are able to
debug issues.

https://bugzilla.samba.org/show_bug.cgi?id=11935

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/client/smbspool.c

index e3818228500b95f1e930c6ea5f42da75125052f4..9dbb23327432cdd3f805e8945de272f797691185 100644 (file)
@@ -250,7 +250,7 @@ main(int argc,                      /* I - Number of command-line arguments */
          * Setup the SAMBA server state...
          */
 
-       setup_logging("smbspool", DEBUG_STDOUT);
+       setup_logging("smbspool", DEBUG_STDERR);
 
        smb_init_locale();