< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate-users] How to disable the logs in console ?


Thanks Scott, I mean: I do not want the DUM and stack generate any log - no logs in console window and no logs in file, it's possible ?


On Tue, Aug 25, 2009 at 12:42 AM, Scott Godin <sgodin@xxxxxxxxxxxxxxx> wrote:
If you initialize the logging to go to a file it will not go to the
console, or you can pass in a custom class derived from External
Logger to Log::initialize and have complete control over the logging.

ie.  Log::initialize("file", args.mLogLevel, argv[0],
"repro_log.txt");   // file logging

Scott

On Mon, Aug 24, 2009 at 8:54 AM, Karlsson<boost.regex@xxxxxxxxx> wrote:
> Hi all, I found when I build a console application base on Dum, the DUM
> always write logs to console window even if I didn't called Log::initialize.
> How to disable it ?
>
> Thanks
>
>
> _______________________________________________
> resiprocate-users mailing list
> resiprocate-users@xxxxxxxxxxxxxxx
> List Archive: http://list.resiprocate.org/archive/resiprocate-users/
>