Feature #301

Logrotate Script for OpenNebula Logs.

Added by Ruben S. Montero almost 11 years ago. Updated over 6 years ago.

Status:ClosedStart date:07/27/2010
Priority:LowDue date:
Assignee:Javi Fontan% Done:

0%

Category:Packaging
Target version:Release 4.12.1
Resolution:fixed Pull request:

Description

This was initially suggested by Stefan Freitag:

> cat /etc/logrotate.d/opennebula

/opt/one/var/one_xmlrpc.log {
   rotate 5
   missingok
   notifempty
   copytruncate
   size=200M
}

/opt/one/var/oned.log {
   rotate 5
   missingok
   notifempty
   size=200M
   copytruncate
}

/opt/one/var/sched.log {
   rotate 5
   missingok
   notifempty
   size=200M
   copytruncate
}

Related issues

Related to Backlog #4079: Implement log rotate for all the opennebula services New 10/23/2015
Duplicated by Bug #398: log files are not rotated Closed 11/08/2010

Associated revisions

Revision 7c26e8ca
Added by Javi Fontan over 6 years ago

feature #301: add logrotate configuration

Revision 0c394ddd
Added by Javi Fontan over 6 years ago

feature #301: add logrotate configuration

(cherry picked from commit 7c26e8ca1decb0a4f46be2703fdacac1afdf26e3)

Revision e7369f72
Added by Abel Coronado about 4 years ago

Changed custom attributes title (#301)

History

#1 Updated by Ruben S. Montero over 10 years ago

  • Tracker changed from Bug to Feature

#2 Updated by Ruben S. Montero about 8 years ago

  • Priority changed from Normal to Low

#3 Updated by Ruben S. Montero about 8 years ago

  • Tracker changed from Feature to Request

#4 Updated by Ruben S. Montero about 8 years ago

  • Tracker changed from Request to Backlog

#5 Updated by Ruben S. Montero about 8 years ago

  • Status changed from New to Pending

#6 Updated by Ruben S. Montero over 7 years ago

  • Assignee deleted (Ruben S. Montero)

#7 Updated by Javi Fontan over 6 years ago

  • Tracker changed from Backlog to Feature
  • Assignee set to Javi Fontan
  • Target version set to Release 4.12.1

#8 Updated by Javi Fontan over 6 years ago

  • Category changed from Core & System to Packaging
  • Status changed from Pending to Closed
  • Resolution set to fixed

Added logrotate to the packages:

compress
weekly
rotate 52

/var/log/one/one_xmlrpc.log {
   missingok
   notifempty
   copytruncate
}

/var/log/one/oned.log {
   missingok
   notifempty
   copytruncate
}

/var/log/one/sched.log {
   missingok
   notifempty
   copytruncate
}

#9 Updated by Daniel Molina over 5 years ago

  • Related to Backlog #4079: Implement log rotate for all the opennebula services added

Also available in: Atom PDF