Uploaded image for project: 'Puppet Server'
  1. Puppet Server
  2. SERVER-2206

Improve default logging configuration for puppetserver

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: SERVER 6.0.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      Server
    • Release Notes:
      Not Needed
    • Release Notes Summary:
      Docs included in PR
    • QA Risk Assessment:
      Needs Assessment

      Description

      The default logback configuration bundled with the puppetserver package can be
      improved by:

      • Updating the configuration to no longer require a service restart or reload
        in order for changes to be picked up (TK-426).
      • Formatting timestamps in application logs to include the time zone in order
        to enable debugging of geographically distributed installations (PE-13490).

      These changes will allow DEBUG logging to be enabled without requiring a restart
      or reload that may destroy application state and improve the usefulness of log
      data from installations that span multiple time zones.

      Recommendations:

      • Logback configuration should include scanPeriod="60 seconds" to allow
        log levels and other settings to be adjusted without requiring service
        restarts or reloads.
      • Logback patterns for application logs should use a RFC 3339
        compatible representation that includes the Time Zone. A Java
        SimpleDateFormat that works with logback is:

      %d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}
      

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  chuck Charlie Sharpsteen
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Zendesk Support