]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3-smbspool: Log to stderr
authorAndreas Schneider <asn@samba.org>
Wed, 25 May 2016 11:39:29 +0000 (13:39 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 31 May 2016 06:58:21 +0000 (08:58 +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>
(cherry picked from commit e59e0a5481196b1ddda0393306c514b8c32d6ea0)

source3/client/smbspool.c

index 7161e86468ec2878d7f281805e1565f22bddcb99..ded14bf772fb3bbc8edab246b33954cd0c303761 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();