Details
-
Improvement
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
Operating System: All
Platform: All
Description
The WARN message is too verbose. Its a log filler, and quickly becomes meaningless.
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.