[jboss-user] [JBoss Portal] - Re: using commons logging with Log4jService

erezharari do-not-reply at jboss.com
Wed Apr 30 00:09:45 EDT 2008

Well, it was just a primilinary test using a jsp page that would eventually be used within a portlet.

in log4j.xml i added:

  | <appender name="erez_" class="org.apache.log4j.RollingFileAppender">
  |  <param name="Threshold" value="debug"/>
  |  <param name="File" value="${jboss.home}/erez.log"/>
  |  <param name="MaxFileSize" value="100KB"/>
  | </appender>
  | <logger name="erez" additivity="true">
  |  <level value="debug"/>
  |  <appender-ref ref="erez_"/>
  | </logger>

the file erez.log is indeed created, but no logs are written into it..

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147691#4147691

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147691

More information about the jboss-user mailing list