Expand my Community achievements bar.

not writing to server.log

Avatar

Level 1

I am the new admin on the server.  The developers came to me the other day and said that jboss was not writing to server.log

We are getting output to console.log

We are running Linux (SuSe)

Can someone tell me where that is set in LiveCycle? Can this be changed?

Thanks

2 Replies

Avatar

Level 7

Check $JBOSS_HOME\server\lc_yourDB\conf\jboss-log4j.xml

See if the File Appender is turned off/commented out:

<appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">

Avatar

Level 1

Looks fine

<!-- A time/date based rolling appender -->
   <appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">
      <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
      <!--- param name="File" value="${jboss.server.log.dir}/server.log"/ --->
      <param name="File" value="${jboss.server.log.dir}/server.log"/>
      <param name="Threshold" value="INFO"/>
      <param name="Append" value="false"/>