Skip to content

[MNG-5932] Per-user and per-project logging configuration #7500

Closed as not planned

Description

@jira-importer

Brian Oxley opened MNG-5932 and commented

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.


Affects: 3.3.3, 3.3.9

2 votes, 6 watchers

Activity

  1. jira-importer commented on Dec 15, 2019

    @jira-importer
    Author

    Elliotte Rusty Harold commented

    I'm willing to bet there is a way to do this? Anyone know?

  2. jira-importer commented on Dec 16, 2019

    @jira-importer
    Author

    Michael Osipov commented

    The very first obstacle is that every logging framework has a different approach to logging configuration. How shall we provide a unified configuration for disjoint backends?

  3. added
    enhancement
    priority:major
    on Jul 6, 2025
  4. gnodet commented on Oct 14, 2026

    @gnodet
    Contributor

    Closing as superseded by #12571, which covers per-user/per-project logging configuration through its console mode selection (--console=auto|rich|plain|verbose|machine) and per-module log file support.

    Claude Code on behalf of Guillaume Nodet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:major

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions