log4cplus error on Agent startup

Bug #1705696 reported by Michał Cłapiński
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Undecided
Przemysław Marcinkiewicz

Bug Description

After starting contrail-vrouter-agent it outputs some log4cplus errors. I've built contrail from R3.1 branches. I think this happens because MiscUtils::LogVersionInfo is called before initializing log4cplus.

vagrant@vagrant-ubuntu-trusty-64:~/contrail$ ./contrail-vrouter-agent
log4cplus:ERROR No appenders could be found for logger (SANDESH).
log4cplus:ERROR Please initialize the log4cplus system properly.

Tags: vrouter
information type: Proprietary → Public
description: updated
Sachin Bansal (sbansal)
Changed in juniperopenstack:
assignee: nobody → Hari Prasad Killi (haripk)
Revision history for this message
Hari Prasad Killi (haripk) wrote :

This comes from the library, during agent init only (attempt to log before init is done) and can be ignored.

Changed in juniperopenstack:
status: New → Won't Fix
Changed in juniperopenstack:
assignee: Hari Prasad Killi (haripk) → Przemysław Marcinkiewicz (pmarcinkiewicz)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/43619
Submitter: Przemys?aw Marcinkiewicz (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/43619
Committed: http://github.com/Juniper/contrail-controller/commit/65e9513b4fb85f34c2d4b7a42d1444ff8d664e3e
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 65e9513b4fb85f34c2d4b7a42d1444ff8d664e3e
Author: Przemysław Marcinkiewicz <email address hidden>
Date: Thu Jun 7 12:38:39 2018 +0200

Fix log4cplus error on Agent startup

Moved LogVersionInfo call after initializing log4cplus.

Fixed default log security level in sample agent conf file.

Change-Id: I5cba7a5573d870421c2c0c7f2bb6bd44b897d5a5
Closes-Bug: #1705696

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.