From: Mike S. <m...@pe...> - 2010-04-30 04:45:15
|
Andrew Whatson writes: > How would one create a logging setup that will log: > - all TRACE messages to a log file > - all INFO messages to the screen Hi Andrew, I could have sworn I answered this question a week ago, but the message doesn't seem to have made it back to the list, so here it is: The log4perl FAQ describes this scenario in "How can I send errors to the screen, and debug messages to a file?" http://search.cpan.org/dist/Log-Log4perl/lib/Log/Log4perl/FAQ.pm#How_can_I_send_errors_to_the_screen,_and_debug_messages_to_a_file? -- Mike Mike Schilli m...@pe... |