Uploaded image for project: 'odlparent'
  1. odlparent
  2. ODLPARENT-141

karaf logging for pipe-log is inconsistent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • Karaf
    • None

      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

       

            Unassigned Unassigned
            shague Sam Hague
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: