more finegrained timestamp when oned archiving logfile ( oned -b ) for eliminating log loss
|Assignee:||Javi Fontan||% Done:|
|Category:||Core & System|
|Target version:||Release 3.8|
|Affected Versions:||OpenNebula 3.8|
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)