apache / apache/maven

[MNG-7085] Loggers documentation clarifications

Open
#8,369 0 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

**[Matthieu Brouillard](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mcfoggy)** opened **[MNG-7085](https://issues.apache.org/jira/browse/MNG-7085?redirect=false)** and commented

Following discussions from dev-list in ["Logging api in plugins"](https://mail-archives.apache.org/mod_mbox/maven-dev/202101.mbox/%3CCAGjJkv0%2BAa1ffGYnxWVYkz8_QWt7KsAYcJ0CsEe%2BMGy6h6FQ6w%40mail.gmail.com%3E) and ["Loging api in JSR-330 component"](https://mail-archives.apache.org/mod_mbox/maven-dev/202101.mbox/%3CCAGjJkv2trLUX6W0UQwmsizPUNdZ6GXS9FB3ApP7w%2B7MhbBXT-g%40mail.gmail.com%3E) threads documentation for Logging from Maven components should be clarified.
- the page 'https://maven.apache.org/maven-logging.html' should be updated to clarify its usage for Maven internal only classes
- for plugins/Mojos clarify (where/which page) the use of #getLog() for mojos
- clarify usage (where/which page) of plexus Logger
// In a plexus component
`@Requirement`
org.codehaus.plexus.logging.Logger logger;

// In a JSR-330 component
`@Inject`
org.codehaus.plexus.logging.Logger logger;

- explain (where/which page) usage of org.apache.maven.plugin.logging.Log (via injection ? see MNG-7084 )

---
No further details from [MNG-7085](https://issues.apache.org/jira/browse/MNG-7085?redirect=false)

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.