From: John O. <joh...@o-...> - 2006-09-22 18:19:52
|
I'd recommend writing another appender which wraps around Appender::DBI and checks for availability. Alternatively, write to a text log file for speed, then have a daily script which pushes the log entries into the DB. hope that helps, John Robert Jacobson wrote: >I've configured my program to log to a MySQL database using >Log::Log4perl::Appender::DBI. However, if the database is not >available, my program hangs on trying to write log messages. Is >there a workaround for this? > >Thanks, >Rob > > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >log4perl-devel mailing list >log...@li... >https://lists.sourceforge.net/lists/listinfo/log4perl-devel > > > |