On Tue, Apr 17, 2012 at 12:06 PM, James Cammarata <[email protected]> wrote:

> Yes mine looks the same, and my install.log contains the epoch time
> stamp (not the formated one you had). Can you check the
> cobbler/modules/install_{pre,post}_log.py files on your system? They
> look like this in the master branch:
>
>    fd = open("/var/log/cobbler/install.log","a+")
>    fd.write("%s\t%s\t%s\tstart\t%s\n" % (objtype,name,ip,time.time()))
>    fd.close()
>

Ah, here we go. Cobbler 2.0.x used:

    fd.write("%s\t%s\t%s\tstop\t%s\t%s\n" % (objtype, name, ip, dns,
time.strftime("%d/%m/%Y %H:%M:%S")))

... which explains why my install.log files had formatted times. Problem is
that "cobbler status" in Cobbler 2.2.x is not prepared to process
install.log files with formatted times.

- Gonzalo
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to