[ODLPARENT-141] karaf logging for pipe-log is inconsistent Created: 16/Feb/18  Updated: 04/Aug/20

Status: Open
Project: odlparent
Component/s: Karaf
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Sam Hague Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The logging in the console after the odlparent bumps has changed.

The module name included in the third field ends up being the log message itself rather than the module or package. Problem might just be that actually the fourth field is the module/package name and the third is the karaf help text line. Not sure what value that field even does so maybe just remove it completely.

This first output is from the new logs [1] and has the wrong module name:

 

2018-02-16T10:35:04,509 | INFO | pipe-log:log "ROBOT MESSAGE: Starting suite /w/workspace/netvirt-csit-1node-openstack-ocata-upstream-stateful-oxygen/test/csit/suites/openstack/connectivity/l2.robot" | core | 124 - org.apache.karaf.log.core - 4.1.3 | ROBOT MESSAGE: Starting suite /w/workspace/netvirt-csit-1node-openstack-ocata-upstream-stateful-oxygen/test/csit/suites/openstack/connectivity/l2.robot

This output is from the old logs [2] and has the shorter name:

 

2017-12-15 15:44:44,404 | INFO | h for user karaf | command | 365 - org.apache.karaf.log.command - 3.0.8 | ROBOT MESSAGE: Starting suite /w/workspace/netvirt-csit-1node-openstack-ocata-upstream-stateful-carbon/test/csit/suites/openstack/connectivity/l2.robot

 

The next problem is that the module name is inconsistent. Notice in [1] that the name repeats for a few logs, then changes to another log message, changes again and repeats to the end.

[1] https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netvirt-csit-1node-openstack-ocata-upstream-stateful-oxygen/895/odl_1/odl1_exception.log.gz

[2] https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netvirt-csit-1node-openstack-ocata-upstream-stateful-carbon/238/odl_1/odl1_exception.log.gz

 



 Comments   
Comment by Robert Varga [ 05/Sep/18 ]

skitt are you still working on this?

 

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