JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • 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)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-4137

Log4jNotificationLoggerAgent is useless

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.1.2
  • Fix Version/s: 3.0.0-RC3
  • Component/s: Core: Agents
  • Labels:
    None
  • User impact:
    Low
  • Similar Issues:
    None

Description

I don't see how its private attribute eventLogger could be something else than null with the big chunk of code commented out in doInitialise.

Because it is null, logEvent does nothing.

Could it be possible to uncomment these lines, until the OSGi/PAX quagmire is sorted out:

else

{ /* ... */ eventLogger = Logger.getLogger(logName); /* ... */ }

so at least a logger will be active?

PS. That would also call for a review of getDescription, which does not acknowledge the fact a non-blank logName is an interesting configuration value.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
Hide
Permalink
David Dossot added a comment - 02/Sep/10 04:52 PM

Could we please have this fixed for 3.x?

Show
David Dossot added a comment - 02/Sep/10 04:52 PM Could we please have this fixed for 3.x?
Hide
Permalink
Dirk Olmes added a comment - 06/Sep/10 02:22 AM

http://fisheye.codehaus.org/changelog/mule/?cs=19354

Show
Dirk Olmes added a comment - 06/Sep/10 02:22 AM http://fisheye.codehaus.org/changelog/mule/?cs=19354

People

  • Assignee:
    David Dossot
    Reporter:
    David Dossot
Vote (1)
Watch (0)

Dates

  • Created:
    03/Feb/09 01:02 AM
    Updated:
    06/Sep/10 02:22 AM
    Resolved:
    03/Sep/10 01:52 PM

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.