0 Replies Latest reply: Sep 27, 2006 1:49 PM by 807569 RSS

    Log4j Logger - properties file configuration

    807569
      Hi

      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.