0 Replies Latest reply on Sep 27, 2006 4:40 PM by 807569

    Log4j Logger - properties file configuration


      This is regarding Apache Log4j logger and the configuration of Log4j.properties file.

      Suppose if I have set the properties file to log the messages in a database. It works fine.

      However, lets say for some reason the database is not accessible for some time.

      Is there a way to configure a "backup" feature in log4j.properties file that basically says that if database is not accessible then log to a temporary file somewhere, may be a text file on the user's system using the RollingFileAppender.