Re: Failover logging possible in Log4J ?

2001-02-09 Thread Anders Kristensen
existing Appender, that does this, though. Anders Anand Prahlad wrote: > > Hello all, > > Is failover logging possible in Log4J ? I have rolled my own appender to log > to a database (this is specific to my database schema for logging errors). > Ordinarily, I want to log only t

RE: Failover logging possible in Log4J ?

2001-02-09 Thread Mark Masterson
You could write some kind of a simple watchdog process that monitors for events that would trigger the failover. When one happens, the watchdog could change (or swap out) the config file for Log4J. If logging has been set up with the "configureAndWatch" method, this will cause the logger to be r

Failover logging possible in Log4J ?

2001-02-09 Thread Anand Prahlad
Hello all, Is failover logging possible in Log4J ? I have rolled my own appender to log to a database (this is specific to my database schema for logging errors). Ordinarily, I want to log only to the database. In case of an error (i.e. database connection lost, database is down..etc..), I want