s3-debug Impove setup_logging() to specify logging to stderr
[metze/samba-autobuild/.git] / source3 / utils / dbwrap_tool.c
index da96bd706f96d950c72a69c8850d66d6a671b15d..ef61ea9dbbf0e6f8210a67afc2d0cb5d01fe29d4 100644 (file)
@@ -215,7 +215,7 @@ int main(int argc, const char **argv)
 
        load_case_tables();
        DEBUGLEVEL_CLASS[DBGC_ALL] = 0;
-       dbf = x_stderr;
+       setup_logging(argv[0], DEBUG_STDERR);
        AllowDebugChange = false;
        lp_load(get_dyn_CONFIGFILE(), true, false, false, true);