Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-2060

Add date in the server.log format

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 8.0.0.CR1
    • 8.0.0.Alpha4
    • Logging
    • None

      Starting from AS7 the server.log has only time in the log format, there is no date in each log record and sometimes it leads small support difficulties, like we can't figure out the date from log snippets or from size based rotated logs.

      <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
      

      I think it's convenient for most users to have date in the logs.

      Proposed change is:

      <pattern-formatter pattern="%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
      

              rhn-support-tkimura Takayoshi Kimura
              rhn-support-tkimura Takayoshi Kimura
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: