From fcd20790da8b295ecfa9d0b30b00d3a42db2f3bb Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 25 May 2016 13:39:29 +0200 Subject: [PATCH] s3-smbspool: Log to stderr 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 Reviewed-by: Michael Adam (cherry picked from commit e59e0a5481196b1ddda0393306c514b8c32d6ea0) --- source3/client/smbspool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/client/smbspool.c b/source3/client/smbspool.c index 7161e86..ded14bf 100644 --- a/source3/client/smbspool.c +++ b/source3/client/smbspool.c @@ -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(); -- 2.8.3