[jboss-dev] server.log appender in AS should use the full conversion pattern by default

Galder Zamarreno galder.zamarreno at redhat.com
Tue Mar 4 05:03:25 EST 2008



Dimitris Andreadis wrote:
> You are really talking about adding the '(%t)' bit here, as '%-5r' and 
> ':%x' do not add any useful info.

Indeed. %t is what I'm after. Thread information to be able to grep by 
thread name...etc.

> 
> Galder Zamarreno wrote:
>> Hi,
>>
>>  From a support point of view, I often find myself asking 
>> users/customers to enable the full conversion pattern in the 
>> server.log's log4j appender  in order to get a better idea of what 
>> each thread is doing:
>>
>> <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
>> <param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/>
>> -->
>>
>> It would really benefit us to have this conversion pattern enabled by 
>> default to speed up problem resolution. The server.log is already 
>> verbose enough and few of our users/customers understand it, so I 
>> wouldn't expect such change to have a major impact on our 
>> users/customers.
>>
>> If possible, I'd like to get this done for JBoss 5 GA. Thoughts?
>>
>> Cheers,
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development

-- 
Galder Zamarreño
Sr. Software Maintenance Engineer
JBoss, a division of Red Hat



More information about the jboss-development mailing list