]> 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:22 +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 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();