From: Mike S. <m...@pe...> - 2004-08-05 02:59:11
|
Fp...@ao... wrote on 8/4/2004, 3:39 PM: > I noticed that log4perl simply sends the log message, formatted > according to pattern layout, to the listening server. However, the > log4cpp socket appender seems to format the log message differently. > The message is not a simple text string. Check out this FAQ on how to hook up Log4perl to the Chainsaw appender, it explains how to get the Log4j formatting in: http://log4perl.sourceforge.net/d/Log/Log4perl/FAQ.html#ec4ff Also, please note that if several sources are writing to the same socket appender, your messages might get mingled. Use a semaphore or similar mechanism to synchronize. -- -- Mike Mike Schilli m...@pe... |