Johannes Kilian wrote:
> just a short question:
> Is there a possibility to flush() the output of log4perl?
> I want the log entries to be shown as soon as they are made (minimal
> or no
> time offset ....)
I assume you're referring to file appenders like
Log::Log4perl::Appender::File. Check out the documentation on
http://log4perl.sourceforge.net/releases/Log-Log4perl/docs/html/Log/Log4perl/Appender/File.html
and watch for the "autoflush" option -- this will write-through to the
logfile every time without buffering.
--
-- Mike
Mike Schilli
m...@pe...
|