Fix ndrdump to use a common setup_logging() API
[samba.git] / source3 / lib / debug.c
index 419af61ef3674d27ac75bc66cb399449e7ae6515..e7dcfb4fdf3f6b2e887224a7055f00612f5016b1 100644 (file)
@@ -605,6 +605,15 @@ void setup_logging(const char *pname, bool interactive)
 #endif
 }
 
+/**
+   Just run logging to stdout for this program 
+*/
+_PUBLIC_ void setup_logging_stdout(void)
+{
+       setup_logging(NULL, True);
+}
+
+
 /***************************************************************************
  Set the logfile name.
 **************************************************************************/