Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5932

Per-user and per-project logging configuration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.3.3, 3.3.9
    • None
    • Logging
    • None

    Description

      It would be of much use to support per-user and per-project logging configuration. This supports cases where different projects have different maven logging requirements (e.g., post-processing maven output as part of a pipeline). Currently I need to change the maven installation to, for example, swap out logback for simplelogger, or to change the simplelogger settings.

      As a workaround on simplelogger I can use .mvn/jvm.config to pass system properties for simplelogger, but this is non-obvious and does not help with changing SLF4J implementation.

      I would like to be able to use something like .mvn/logging/<files here> akin to conf/logging under $M2_HOME and/or lib/ext.

      Attachments

        Activity

          People

            Unassigned Unassigned
            binkley Brian Oxley
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: