2 Replies Latest reply on Sep 16, 2008 6:13 AM by jaikiran

    use of log4j.properties file

    design2006

      Dear all,

      In my application, i don't include log4j.properties file in my WEB-INF, but all the logger is still working fine. So can i know what is the use of this file and when we need to use it ? thanks.

        • 1. Re: use of log4j.properties file
          erasmomarciano

          You can use log4j raising debug level.

          • 2. Re: use of log4j.properties file
            jaikiran

             

            "design2006" wrote:
            Dear all,

            In my application, i don't include log4j.properties file in my WEB-INF, but all the logger is still working fine. So can i know what is the use of this file and when we need to use it ? thanks.


            Which version of JBoss? JBoss by default has a log4j.xml (or jboss-log4j.xml depending on which version you are using) in the %JBOSS_HOME%\server\< serverName>\conf folder, which gets picked up by log4j. If you want your log4j.properties to be picked up, then you will have to do some extra configurations.