On 07/29/2009 09:29 AM, Vreman, Peter wrote:
The log file of the tasks is not unique. After a restart of cobblerd
the log file starts always with 0.log.
A timestamp in the name (just like on the webui screen) or persistent
number shall be used for the filename.
s/shall/should/, unless Cobblers have RFCs now :)
But yes, I'm aware. I'm thinking of using the English-version of the
taskname + time for the task id, with underscores instead of spaces.
ex:
2009-07-04_15:30:05_sync
(or something like that)
I also need to look into telling logrotate to manage that directory
versus cobblerd, presuming it is so capable.