(forwarded with permission) Hi Mike.
I've been enjoying Log::Log4perl (using 1.13). Thank-you. Until I decided to write a pair of appenders. One of them is a fancy file appender and it works nicely. The other logs an event to Netcool (specifying warp_message=0) and it works fine. It allows you to call log like: $logger->log($level, $msg, $key) so that you can specify a Netcool alert key. Then comes the problem: I made a configuration file including both appenders. Now I lose. The Netcool appender continues to work nicely. However, the file appender mashes all the args together if I specify the key. Which is the expected behaviour for it, but then I can't use the key feature with netcool. I could make it work by setting warp_message=0 on the file appender, but to do that I have to set the layout to NoopLayout, so I can't get nicely formatted log entries there. It seems as if there is no way to use both types of appender (with warp_message=0 and without) in the same config file. Or am I missing something? Thomas Erskine Consultant | Technology 2000 Barrington St | Suite 300 | Floor 04 Halifax, NS B3J3K1 Phone: +1 902 442-4709 [EMAIL PROTECTED] -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ log4perl-devel mailing list log4perl-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/log4perl-devel