jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2 & 3
  • MNG-3463

AsbtractMojo should look for LoggerManager plexus component

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.0.9
  • Component/s: Logging
  • Labels:
    None

Description

AbstractMojo currently defines it's own Log interface, hard coded to use System.out. This really restricts the logging capabilities of all plugins. It would be nice if it attempted to look up the plexus role "org.codehaus.plexus.logging.LoggerManager" first and only used System.out if that failed.

Doing this would also go a long way towards resolving MNG-2570 and MNG-3305.

Issue Links

is related to

Improvement - An improvement or enhancement to an existing feature or task. MNG-2570 Maven needs to support multiple logging levels

  • Major - Major loss of function.
  • Open - The issue is open and ready for the assignee to start work on it.

Improvement - An improvement or enhancement to an existing feature or task. MNG-3183 Allow a user to specify logging to a text file

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Brett Porter added a comment - 12/Jun/08 9:02 PM

I'm not sure coupling to plexus is a good idea (even if most other things are). The embedder already does handle directing this to the plexus logger, not system.out specifically.

Show
Brett Porter added a comment - 12/Jun/08 9:02 PM I'm not sure coupling to plexus is a good idea (even if most other things are). The embedder already does handle directing this to the plexus logger, not system.out specifically.
Hide
Permalink
Benjamin Bentmann added a comment - 15/Dec/10 9:59 AM

Looking at the DefaultPluginManager, the mojo logger is already delegating to a plexus logger since ages.

Show
Benjamin Bentmann added a comment - 15/Dec/10 9:59 AM Looking at the DefaultPluginManager, the mojo logger is already delegating to a plexus logger since ages.

People

  • Assignee:
    Benjamin Bentmann
    Reporter:
    Robert Egan
Vote (1)
Watch (1)

Dates

  • Created:
    14/Mar/08 6:38 AM
    Updated:
    15/Dec/10 9:59 AM
    Resolved:
    15/Dec/10 9:59 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.