[xen-tools] please mark new installs in logfile/rotate logs

Henning Sprang henning_sprang at gmx.de
Tue Jun 19 21:38:15 CEST 2007


Hi,
I just wondered for some minutes, why my install log of a host is so
full, and the install was so short and obviously broken.

The last lines looked like:

--- start ---
...
Executing    shell: LAST/50-misc
LAST/50-misc         OK.
Calling task_finish
Tue Jun 19 17:21:39 IST 2007
The dirinstall took 207 seconds.
Source hook: savelog.LAST.source
ERRORS found in log files. See /var/log/fai/current/error.log.
savelog.LAST.source  OK.
Calling task_savelog
End of /usr/sbin/fai
Role script completed.

Creating Xen configuration file
Done
All done
The specified template file, paravirtual.tmpl, does not exist.
--- end ---

Yep. After restarting this install, the last line beings to repeat.
So, information about multiple installs is stored in one file -
withpout being marked as such.

I'd suggest to change one of these facts: either store only data of
one install in one file (use rotation of files, or add a timestamp to
the name of the logile), or mark the end of the last and the start of
a new install very clearly, with something like

----------- start new install -------------
whatever there is to log
-------- end new install --------

What do you think?

Henning





More information about the xen-tools-discuss mailing list