I suggest that we change the log4j layout patterns to add more useful 
information to the console and server.log files:

For console:

   "%-5p %c{1} [%t] - %m%n"

INFO  JMXAdaptorService [main] - Starting
DEBUG MailingPOEJB [Passivator Thread for MailingPO] - ejbPassivate

For server.log:

   "%d %-5r %-5p %c [%t] (%x) - %m%n"

2001-11-13 11:35:32,210 2396  INFO  org.jboss.util.Shutdown [main] () - Shutdown hook 
added
2001-11-13 11:35:36,576 6762  WARN  org.jboss.configuration.ConfigurationService 
[main] () - Monitor:name=BeanCacheMonitor does not implement any Service methods

 * * *

I have found that the extra information is very, very useful to debug 
components running inside of JBoss.  The above puts the minimal amount of 
useful information on the console in a terse format and dumps all usefull 
information into server.log in a verbose format.

I believe that users of JBoss would benifit from these settings by default 
and I suggest that we update the log4j.properties (or use log4j.xml) with 
these layout formats.

Any objections?

--jason


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to