0 Replies Latest reply on May 20, 2005 7:16 PM by Mike Watson

    JBOSS Logging - log4j.xml files

    Mike Watson Newbie

      Hi all,

      I am using JBOSS 3.0.4 on Windows 2000 for one of our Java applications. JBOSS has logs that are written into ..\server\default\log.

      I would like to make the following adjustments:

      (1) Have JBOSS cleanup the server.log.xxx. and request.log.xxx files after 90 days (is that possible?)

      (2) Do not reset server.log after each restart of the JBOSS. I notice that when you restart JBOSS, the server.log file (current day log activity) is wiped cleaned. Is there a way to tell JBOSS not to clean it out so it retains all the messages, even after a restart of JBOSS?

      I notice a file called log4j.xml in ..\server\default\conf directory. It looks like I would make the changes to this file but I could locate where to set that. In addition to the questions, if you could point me to the documentation that would discuss this in more details.. That would be great.

      Thanks everyone for your responses.