Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-19037

Provide a way to configure logback.xml and logback-access.xml in sonatype-work

    Details

    • Type: Improvement
    • Status: New
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 3.15.2
    • Fix Version/s: None
    • Component/s: Logging
    • Labels:
      None
    • Notability:
      4

      Description

      As of Nexus 3.15.2, the logback configuration file location is set by the logback.etc property and cannot be customized. The only way to modify the logback settings is to edit the logback.xml or logback-access.xml files directly. For example, changing the log format, adding separate appenders, or changing the log rotation maxHistory.

      These files are located in karaf.base, which means they do not survive an upgrade. The user needs to ensure that any changes are copied forward. In Nexus 2.x, the logback-nexus.xml was stored inside sonatype-work.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mworthington Michael Worthington [X] (Inactive)
            Last Updated By:
            Peter Lynch Peter Lynch
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response:

                tigCommentSecurity.panel-title