How would I dynamically turn log4cxx logging to the console on and off in an
application?
Goal here is to process a used choice, command line parm or GUI input or
whatever. Thus in a hypothetical main loop:
if ( userWantsToStartConsoleLogger )
ConsoleLogger( true );
if ( userWantsToStopCo
Hi Wea,
Our product has code to dynamically add a console appender, but it is not
currently in use. As such, I can't say for
sure whether it works or not.
===
static const LogString DateTimeThreadLevelClassMessagePattern
(LOG4CXX_STR("%d{dd/MM HH:mm:ss.SSS}
%-5p %c - %m%n"));
>
>Andy,
>
>Thanks. Will give it a look.
>
>And, sadly, I stink as a typist. It "Wes" not "Wea". Sigh.
>
>Wesley J. Miller
>NASCENT Technology, LLC
>wmil...@nascent.com
>
>
CONFIDENTIALITY NOTE:
This e-mail and any attachments are confidential. If you are not the intended
recipient, be aware