< 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 ?


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/
>