Feature #409

oned, mm_sched, et al. logging feature enhancements

Added by Dan Yocum over 9 years ago. Updated over 7 years ago.

Status:ClosedStart date:11/12/2010
Priority:NormalDue date:
Assignee:Jaime Melis% Done:

0%

Category:-
Target version:Release 4.0
Resolution:fixed Pull request:

Description

Hi,

After discussing with Jaime, I am opening this feature request for oned logging:

a) if a oned.log file exists, oned should append to this file instead of overwriting it.
b) oned should correctly trap SIGHUP so logrotate can correctly rotate the oned.log file

These changes should also be applied to the other ONE processes that perform logging.

Thanks,
Dan

Associated revisions

Revision 69e77651
Added by Abel Coronado about 3 years ago

Solved NaN Cost in general panel VM Template (#409)

Revision ea84b0b4
Added by Abel Coronado about 3 years ago

Solved NaN Cost in general panel VM Template (#409)

Revision 6eb602e7
Added by Abel Coronado about 3 years ago

Solved NaN Cost in general panel VM Template (#409)

(cherry picked from commit 69e776518ed7e9a10e7c8ede89c124042313b8c8)

History

#1 Updated by Dan Yocum over 9 years ago

I suggest that oned logging should closely match the logging style of apache.

#2 Updated by Mikael Fernandus Simalango over 9 years ago

+1 for this

i agree with appending existing log file instead of overwriting it. it's also nice to incorporate logrotate to handle the logging. when i tested various features of opennebula, oftentimes i had to restart the daemon. using "-b" flag did keep the old log, but when i restarted many times, it became hard to track and compare each daemon launch historically.

#3 Updated by Ruben S. Montero over 9 years ago

  • Target version set to Release 3.0

#4 Updated by Ruben S. Montero over 9 years ago

  • Assignee set to Jaime Melis

#5 Updated by Ruben S. Montero almost 9 years ago

  • Target version deleted (Release 3.0)

#6 Updated by Ruben S. Montero almost 8 years ago

  • Target version set to Release 4.0

#7 Updated by Ruben S. Montero almost 8 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

This is mostly implemented (do not overwrite log files), SIGHUP handling is in other issue

Also available in: Atom PDF