SM: Add Configuration for Logging to set Log Size and Max Backups

Bug #1563577 reported by Nitish Krishna Kaveri
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
High
Nitish Krishna Kaveri
Trunk
Fix Committed
High
Nitish Krishna Kaveri

Bug Description

Today debug.log and transaction.log are not set to a fixed size and do not have max backups.

We need to add these configs so that log size doesn't grow.

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/18861
Submitter: Nitish Krishna Kaveri (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/18862
Submitter: Nitish Krishna Kaveri (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/18862
Committed: http://github.org/Juniper/contrail-server-manager/commit/b4c6b2a4897cf57655f2802ac9204f43fd1ee6e1
Submitter: Zuul
Branch: R3.0

commit b4c6b2a4897cf57655f2802ac9204f43fd1ee6e1
Author: nitishkrishna <email address hidden>
Date: Tue Mar 29 16:03:40 2016 -0700

Closes-Bug: #1563577 : SM - Setting Max Log Size and Max Backups

This commit sets maximum log size as 100 MB and maximum number of backups as 10 for:
/var/log/contrail-server-manager/debug.log
/var/log/contrail-server-manager/transaction.log

Change-Id: Icaefe36b3901c4246ea8fc305b151fd68908b2b7

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

Reviewed: https://review.opencontrail.org/18861
Committed: http://github.org/Juniper/contrail-server-manager/commit/dd7abce34fb0ec6701dc198772e902dac3349eec
Submitter: Zuul
Branch: master

commit dd7abce34fb0ec6701dc198772e902dac3349eec
Author: nitishkrishna <email address hidden>
Date: Tue Mar 29 16:03:40 2016 -0700

Closes-Bug: #1563577 : SM - Setting Max Log Size and Max Backups

This commit sets maximum log size as 100 MB and maximum number of backups as 10 for:
/var/log/contrail-server-manager/debug.log
/var/log/contrail-server-manager/transaction.log

Change-Id: Icaefe36b3901c4246ea8fc305b151fd68908b2b7

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.