apache / apache/maven

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

Open
#7,500 2 comments 0 reactions 0 assignees View on GitHub
enhancement priority:major
Dominant language
Java
Stars
5.3k
Forks
3.1k
Avg merge
20h 42m
Merged PRs (30d)
297

Description

**[Brian Oxley](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=binkley)** opened **[MNG-5932](https://issues.apache.org/jira/browse/MNG-5932?redirect=false)** 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/\ akin to conf/logging under $M2_HOME and/or lib/ext.

---

**Affects:** 3.3.3, 3.3.9

2 votes, 6 watchers

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.