Google Groups Home
Help | Sign in
Recent pages and files
Mobicents Logging    

Configuring Logging for Mobicents

Mobicents now has its own log4j.xml which produces the independent mobicents.log file. This step is taken to assure that Mobicents logging doesn't mess with JBoss AS logging and user has to manage the logging configuration for JBoss AS.


Where is the log4j.xml?

The log4j.xml is now situated at mobicents.sar/META-INF for 'default' config of server and at mobicents-ha.sar/META-INF for 'all' config.


The log4j.xml has only two categories set by default


   <category name="org.mobicents">
     <priority value="INFO" />
     <appender-ref ref="MOBICENTS-FILE"/>
   </category>

   <category name="org.mobicents.slee.runtime.transaction.TransactionManagerImpl">
     <priority value="INFO" />
     <appender-ref ref="MOBICENTS-FILE"/>
   </category>


This covers the entire mobicents logging, including the Mobicents Management Console.


Optimal configuration for jboss-log4j.xml

The jboss-log4j.xml file has many categories that has the logging level to INFO. Rather its advisable to leave only category "org.jboss.management" to INFO and rest all changed to 'WARN'

Version: 
2 messages about this page
Jan 23 2008 by ivelin
awesome!
Jan 9 2008 by amit.bhayani@gmail.com
Click on http://groups.google.com/group/mobicents-public/web/mobicents-logging
- or copy & paste it into your browser's address bar if that doesn't
work.
Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google