log_level set in the conf file has no effect on non-sandesh logs

Bug #1459113 reported by Sundaresan Rajangam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Medium
Megh Bhatt

Bug Description

Presently, only the sandesh systemlog messages honor the log_level set in the conf file. As a result, all the non-sandesh log messages are written in the log file irrespective of the log level.
The value of log_level (sandesh level) in the conf file (or the default value) should be converted to appropriate log4cplus::LogLevel and set in the log4cplus logger.

Tags: analytics
Raj Reddy (rajreddy)
tags: added: quench
Raj Reddy (rajreddy)
tags: removed: quench syslog
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/16590
Submitter: Megh Bhatt (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/16592
Submitter: Megh Bhatt (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/16590
Committed: http://github.org/Juniper/contrail-controller/commit/b59f99485741d0db0ae9506aae9862a5dab4449f
Submitter: Zuul
Branch: master

commit b59f99485741d0db0ae9506aae9862a5dab4449f
Author: Megh Bhatt <email address hidden>
Date: Wed Jan 27 23:01:27 2016 -0800

Configure loglevel of rootLogger

Configure loglevel of rootLogger in addition to sandesh
logger based on Sandesh::SetLoggingLevel and introspect
command

Change-Id: I631a142a4d7f2828316ed6d145586e265c3811d0
Closes-bug: #1459113

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/16592
Committed: http://github.org/Juniper/contrail-sandesh/commit/a5fcd7481fde5e9f237962ba1d12330eae9605d7
Submitter: Zuul
Branch: master

commit a5fcd7481fde5e9f237962ba1d12330eae9605d7
Author: Megh Bhatt <email address hidden>
Date: Wed Jan 27 23:34:12 2016 -0800

Configure loglevel of rootLogger

Configure loglevel of rootLogger in addition to sandesh
logger based on Sandesh::SetLoggingLevel and introspect
command
Depends-On: I631a142a4d7f2828316ed6d145586e265c3811d0
Change-Id: I9bf91e7db524f4cc4495836f125f5a55a24fb93a
Closes-bug: #1459113

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.