[MDSAL-236] Too Extensive several MBs [INFO] logs from yang-parser-impl during shutdown Created: 08/Mar/17  Updated: 09/Mar/18  Resolved: 01/May/17

Status: Resolved
Project: mdsal
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Michael Vorburger Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: Zip Archive log.zip    
External issue ID: 7927

 Description   

The attached 1 MB log, taken from a netvirt/vpnservice/distribution/karaf/target/assembly/data/log/ after a Ctrl-D in a non-SFT real Karaf is a small piece of what I'm starting to understand is a more general topic than the particular message raised in MDSAL-235 ...

... yang-parser-impl spews several MBs of INFO logs during shutdown.

This kind of log has no real value IMHO, and is only confusing - we should see if we can suppress that, or even simply make all those kind of logs debug instead of INFO during shutdown?



 Comments   
Comment by Robert Varga [ 22/Mar/17 ]

Missing the attachment...

Comment by Michael Vorburger [ 22/Mar/17 ]

> Missing the attachment...

Oups, sorry. I've recreating it attached as log.zip. So that is in a fresh instance, after "feature:install odl-netvirt-openstack", and Ctrl-D - we have 2.5 MB useless log!

This depends on MDSAL-235 (or you could even consider it a dupe).

Comment by Michael Vorburger [ 22/Mar/17 ]

Attachment log.zip has been added with description: ZIP netvirt/vpnservice/distribution/karaf/target/assembly/data/log after just feature:install odl-netvirt-openstack & Ctrl-D

Comment by Robert Varga [ 27/Apr/17 ]

Disconnecting from MDSAL-235 as they are two separate issues: one is the startup case, another is the shutdown case. We can fix this one just by OSGi means, we cannot fix the other one without help from karaf.

As it turns out, the logs you are seeing are duplicates coming from incomplete controller->mdsal migration. The controller copy of the code is actually mostly silent thanks to Tom's fixes that went in long ago. Unfortunately those have not gotten into the mdsal part.

The fix for controller is rather simple:
master: https://git.opendaylight.org/gerrit/56182

The fix for mdsal will follow in a short while.

Comment by Robert Varga [ 27/Apr/17 ]

mdsal patches for master:
https://git.opendaylight.org/gerrit/56186
https://git.opendaylight.org/gerrit/56187
https://git.opendaylight.org/gerrit/56188
https://git.opendaylight.org/gerrit/56192

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