Home > Knowledge Center > Deployment Support > Maintaining Mifos > Managing Mifos Server Logging

Document Actions

Managing Mifos Server Logging

Assistance to help MFIs with managing server logging

JBoss Server Logging

If you use JBoss as your application server for Mifos, you may choose to change the default level of logging done by JBoss. JBoss logging is quite verbose and server logs get large quickly. Typically you will have to uncomment or add some lines to the "Limit Categories" section of the log4j.xml file for your webapp in JBoss. This file can be found in the 'conf' folder in the server directory for your web application (e.g. server\mifos\conf).

Uncomment the following lines or add the following lines if they do not exist to your log4j.xml file:

      <!-- Limit the org.jboss category to INFO
        as its DEBUG is verbose -->
   <category name="org.jboss">
      <priority value="INFO"/>
   </category>
   
        <!-- Limit the org.hibernate category to INFO
          as its DEBUG is verbose -->
   <category name="org.hibernate">
      <priority value="INFO"/>
   </category>

        <!-- Limit the hql.parser category to INFO
          as its DEBUG is verbose -->
   <category name="hql.parser">
      <priority value="INFO"/>
   </category>

The following should turn off debug messages in general (this needs to be verified):

  <root>
    <priority value="INFO"/>
  </root>

Application Logging

The Mifos application also writes separate application log files to the server. According to the logging configuration file, the intent is to eventually move this to the conf/log4j.xml described above, but this has not been done yet. The location of the Mifos application logging config file in source control is:

/mifos/src/org/mifos/framework/util/resources/loggerresources/loggerconfiguration.xml

-- Main.aliyaw - 15 May 2007

last modified 2007-08-02 06:03
Grameen logo