Hi I have had no luck with responses on the user list so I would like to
pose my question to the Log4j dev group.  I'm basically wondering if log4j
has the ability to queue log requests.  I noticed JLog's Handlers (roughly
equivalent to log4j's Appenders), in their default, asynchronous mode pull
log records off a queue and process them "at their leisure."   While I know
Log4j features asynchronous logging, does that necessarily imply that a
queue is used?  Can someone please clarify?

Thanks,
Craig Reichenbach

Original Message:
In looking at Log4j source, if one uses a File based Appender, it looks
like calls to the various Category log functions (debug, info, error, etc)
are held up until the actual File I/O occurs via the QuietWriter class.  I
did notice the immediateFlush boolean in WriterAppender, and although it
helps performance, it is considered a heavy tradeoff to turn off
immediateFlush.

I just want to make sure that I am not missing anything;  Log4j does not
have message queing functionality does it?

Craig R.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to