oned, mm_sched, et al. logging feature enhancements
|Assignee:||Jaime Melis||% Done:|
|Target version:||Release 4.0|
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.
#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.