[OPNFLWPLUG-374] WARN level log message too verbose Created: 01/Mar/15  Updated: 27/Sep/21  Resolved: 16/Mar/16

Status: Resolved
Project: OpenFlowPlugin
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Improvement
Reporter: Keith Burns Assignee: Keith Burns
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All



 Description   

The WARN message is too verbose. Its a log filler, and quickly becomes meaningless.

http://pastebin.com/dKebwfFf

Suggest:
1. Reduce size of WARN message. A simple PrettyPrint would be nice. I'd be happy to work on any YANG required to define the message.

2. Move verbose message to a different priority LOG level. I'm not sure how there is a smart way of doing this other than:
log.WARN( pretty print)
log.ERROR/DEBUG/something_other_than_warn( verbose message)

Thank you!

Please note, a WARNing is just that, a WARNing. If you think the level should be reset to a bona fide ERROR, then by all means, lets then track down why I am generating so many ERRORs, but WARNings I get to when I get to, and in the interim, it's making any use of the log for troubleshooting far more difficult than it should be.



 Comments   
Comment by Keith Burns [ 18/Mar/15 ]

https://git.opendaylight.org/gerrit/16740

Comment by Michal Rehak [ 02/Apr/15 ]

merged

Comment by Jozef Bacigal [ 16/Mar/16 ]

No response long time, if persist should be opened as new bug.

Generated at Wed Feb 07 20:32:17 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.