Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5274

Default log4j conversion pattern should log Thread name

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • JBossAS-5.0.0.CR1
    • None
    • Logging
    • None
    • Low

      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.

      I suggest that we add %t to the default conversion pattern to 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:

      <!-- The default pattern: Date Priority [Category] (Thread) Message\n -->
      <param name="ConversionPattern" value="%d %-5p [%c] (%t) %m%n"/>

              dandread1@redhat.com Dimitrios Andreadis
              rh-ee-galder Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: