[8.5.2] Log4s question / examples

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[8.5.2] Log4s question / examples

Richard Sargent
Administrator
The documentation is a little shy on real and complete examples.

I have attempted the following stanza. I want an asynchronous configuration, but this doesn't seem to give it to me. The EsLogManager singleton shows me only a single appender (FileAppender) when I inspect it.

[log4s]
debugEnabled=true
quietMode=false
globalLevel=Error
fileAppender=FileAppender, root, .\log4s.log, false, Debug, EsPatternLayout, '%d{ISO8601}    [%t]    [%l]    %m', true,
asyncFileAppender=AsyncFileAppender, root, .\log4s.log, false, Debug, EsPatternLayout, '%d{ISO8601}    [%t]    [%l]    %m', true, FileAppender


I really cannot decipher the explanation of creating and using asynchronous appenders.

"Asynchonous Appenders
The async appenders have the same ini values in the same order as their synchronous brethren, but have the name of the asyncAppender they are attached to as the last parameter.
"
My first question was "Huh?", followed closely by "Why?". But since my attempt did not work, the question I would like answered first is "How?". I'm sure it is simple, but I'm not finding it obvious.


Thanks,
Richard

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.