Bug #1541
more finegrained timestamp when oned archiving logfile ( oned -b ) for eliminating log loss
Status: | Closed | Start date: | 10/10/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Javi Fontan | % Done: | 0% | |
Category: | Core & System | |||
Target version: | Release 3.8 | |||
Resolution: | fixed | Pull request: | ||
Affected Versions: | OpenNebula 3.8 |
Description
when restarting oned daemon more than once in a minute and when the log archiving is enabled, the previous log is overwriten.
so when steps are
- restart after long time (big log is saved with timestamp A
- restart again in the same minute - timestamp for archiving B is the same as A, so the previous (and important because of long history in it) log is lost
it would be nice to a) apend another sub-suffix or b) incrase the number till it's unique
including seconds in the timestamp would help too.
(this is related to #1533 for setting log arhiving as default)
Related issues
Associated revisions
History
#1 Updated by Ruben S. Montero over 8 years ago
- Target version set to Release 3.8
#2 Updated by Ruben S. Montero over 8 years ago
- Category set to Core & System
- Status changed from New to Assigned
- Assignee set to Javi Fontan
#3 Updated by Javi Fontan over 8 years ago
- Status changed from Assigned to Closed
- Resolution set to fixed
Adding seconds should be enough and does not add complexity.