[torqueusers] Timestamps in account logs
garrick at usc.edu
Tue Jul 27 12:51:50 MDT 2010
On Tue, Jul 27, 2010 at 02:20:26PM -0400, David Chin alleged:
> I am running torque-2.3.7 on RedHat EL 4. The timestamps in the
> accounting logfiles are local time (with DST corrections) but without
> any indication of timezone and/or DST (daylight savings time).
> Is there a way to change the logfile output to be UTC, or have it mark
> timestamps with the timezone? This is going to be annoying to work
> backwards to figure out if a particular timestamp occured during DST.
> In all honesty, outputting timestamps in UTC in ISO-8601 format would be ideal.
Sure, the function is log_record() in src/lib/Liblog/pbs_log.c. You can change
it to whatever you like.
Garrick Staples, GNU/Linux HPCC SysAdmin
University of Southern California
Life is Good!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20100727/2da2dfb2/attachment.bin
More information about the torqueusers