Bug #318
oned clears the log on startup
Status: | Closed | Start date: | 08/18/2010 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | - | |||
Target version: | - | |||
Resolution: | wontfix | Pull request: | ||
Affected Versions: |
Description
When oned starts, it truncates oned.log so all the information from the previous run is lost. This should not happen as log files should be append-only.
Associated revisions
option to backup oned.log (#318)
History
#1 Updated by Jaime Melis almost 11 years ago
- Priority changed from High to Normal
- % Done changed from 0 to 100
- Resolution set to wontfix
Hi, that is the intended behaviour for the oned.log file. If you want to back it up, consider applying a patch like the following (I haven't tested it):
Cheers
#2 Updated by Jaime Melis almost 11 years ago
- Status changed from New to Closed
#3 Updated by Jaime Melis almost 11 years ago
In the end we have supplied a new option to the one command to backup oned.log:
one -b start