0 Replies Latest reply on Nov 22, 2012 5:47 AM by rupesh padhye

    how to create own log file in jboss 5.0.1

    rupesh padhye Newbie

      I am trying to create own log file in jboss 5.0.1 using log4j but jboss itself using log4j .

       

      ERROR [STDERR] (http-127.0.0.1-10281-1) log4j:ERROR A "org.jboss.logging.appender.FileAppender" object is not assignable to a "org.apache.log4j.Appender" variable.

      2012-11-22 15:50:38,845 ERROR [STDERR] (http-127.0.0.1-10281-1) log4j:ERROR The class "org.apache.log4j.Appender" was loaded by

      2012-11-22 15:50:38,845 ERROR [STDERR] (http-127.0.0.1-10281-1) log4j:ERROR [BaseClassLoader@16e32d7{vfszip:/C:/jboss-5.1.0/server/logixalserver/deploy/mvc.war/}] whereas object of type

      2012-11-22 15:50:38,845 ERROR [STDERR] (http-127.0.0.1-10281-1) log4j:ERROR "org.jboss.logging.appender.FileAppender" was loaded by [org.jboss.bootstrap.NoAnnotationURLClassLoader@186db54].

      2012-11-22 15:50:38,846 ERROR [STDERR] (http-127.0.0.1-10281-1) log4j:ERROR Could not instantiate appender named "FILE".

       

      Please give steps to create own  custmized log file