* BUG 446
[samba.git] / source3 / client / client.c
index 5ee6913374a529a9320bdd182a7a59e167e103a8..6c43a974f2bb6be0f9b4c16512f89a34ba2ec0b0 100644 (file)
@@ -2816,7 +2816,8 @@ static void remember_query_host(const char *arg,
        set_global_myworkgroup( "" );
 
         /* set default debug level to 0 regardless of what smb.conf sets */
-       DEBUGLEVEL_CLASS[DBGC_ALL] = 0;
+       setup_logging( "smbclient", True );
+       DEBUGLEVEL_CLASS[DBGC_ALL] = 1;
        dbf = x_stderr;
        x_setbuf( x_stderr, NULL );