diff options
Diffstat (limited to 'source3/lib/debug.c')
-rw-r--r-- | source3/lib/debug.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/lib/debug.c b/source3/lib/debug.c index 419af61ef3..e7dcfb4fdf 100644 --- a/source3/lib/debug.c +++ b/source3/lib/debug.c @@ -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. **************************************************************************/ |