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
Daniel Zapata made changes - 03/Feb/09 11:33 AM
Field Original Value New Value
Fix Version/s Tech. Debt [ 10572 ]
Priority To be reviewed [ 6 ] Minor [ 4 ]
David Dossot made changes - 03/Sep/10 11:56 AM
Assignee David Dossot [ davidd ]
David Dossot made changes - 03/Sep/10 01:43 PM
Status Open [ 1 ] In Progress [ 3 ]
David Dossot made changes - 03/Sep/10 01:52 PM
Status In Progress [ 3 ] Closed [ 6 ]
Fix Version/s 3.0.0-RC3 [ 10874 ]
Fix Version/s Tech. Debt [ 10572 ]
Resolution Fixed [ 1 ]

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.