Uploaded image for project: 'Commons Logging'
  1. Commons Logging
  2. LOGGING-11

[logging][PATCH] Enable the configuration of date and time format in SimpleLog

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Nightly Builds
    • Fix Version/s: 1.0.4
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      27528

      Description

      It would be nice if the user could configure the date and time format used by
      SimpleLog.

      I have made patches for SimpleLog and the unittests. The patch enables a new
      optional configuration property
      org.apache.commons.logging.simplelog.dateTimeFormat. The property takes a value
      of a SimpleDateFormat pattern. If the pattern is not specified or is invalid,
      the default pattern is used.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dennisl@apache.org Dennis Lundberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: