Closed vvv closed 5 years ago
merged
assigned to @vvv
Looks good.
assigned to @andriy.tkachuk
changed the description
changed title from {-scripts/h0 (cmd_init): clean Halon log-}s to {+h0
script improvement+}s
added 9 commits
master
added 1 commit
changed the description
Good idea! See what I made of it: 96288cd0f16429d00cdbe8227db51f85639a5032.
added 9 commits
master
assigned to @vvv
Sometimes there is a need to compare the log with the previous run and you forget to save the log from that previous session. So instead of the deletion, I'd propose to just rename the /var/log/halon.{decision,trace}.log
files to something like - /var/log/halon.{decision,trace}-old.log
.
Does it make sense?
/var/log/halon.{decision,trace}.log
) inh0 fini
— add_preserved-for-debugging
suffix.h0 init
won't overwrite those files. The suffix makes it easy to differentiate old logs from current ones.halon-cleanup
script:--keep-logs
option is not needed any more.