Feature #409
oned, mm_sched, et al. logging feature enhancements
Status: | Closed | Start date: | 11/12/2010 | |
---|---|---|---|---|
Priority: | Normal | Due 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
Solved NaN Cost in general panel VM Template (#409)
Solved NaN Cost in general panel VM Template (#409)
Solved NaN Cost in general panel VM Template (#409)
(cherry picked from commit 69e776518ed7e9a10e7c8ede89c124042313b8c8)
History
#1 Updated by Dan Yocum over 10 years ago
I suggest that oned logging should closely match the logging style of apache.
#2 Updated by Mikael Fernandus Simalango over 10 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 10 years ago
- Target version set to Release 3.0
#4 Updated by Ruben S. Montero about 10 years ago
- Assignee set to Jaime Melis
#5 Updated by Ruben S. Montero almost 10 years ago
- Target version deleted (
Release 3.0)
#6 Updated by Ruben S. Montero over 8 years ago
- Target version set to Release 4.0
#7 Updated by Ruben S. Montero over 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