You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Mauricio Vieira <ma...@gmail.com> on 2004/04/25 23:59:50 UTC

Novice wants to flush only at specific times

Hi,

  How I set the logger to put log messages into an object
(StringBuffer, for example) and only flushes to a Stream when I want?
It is possible?
  I'm trying to do a scheduler and would like to log it, but don't
want to do any IO operation until something happens.

Thanks for your time,

Mauricio Vieira

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org