[torqueusers] MOM log file rotation
garrick at usc.edu
Wed Sep 5 13:33:54 MDT 2007
On Wed, Sep 05, 2007 at 12:29:36PM -0700, Joshua Bernstein alleged:
> I really like the way that pbs_mom handles log files by naming them
> with the date, and then automatically rotating them when the date changes.
> I have a few comments though:
> 1) I see that pbs_mom takes -L option to override the log file location,
> but if the argument to -L is a directory, then log creation fails.
> 2) If I specify an argument to -L, then pbs_mom no longer manages the
> file by naming it correctly, and properly rotating it.
> It would be a nice if when the argument to -L is a directory, pbs_mom
> simply uses that directory and manages the logs as it would if there was
> no -L argument.
> I could try and supply a patch to 2.1.8 to attempt to do this, but I'm
> not sure the implications this would have to binaries like tracejob and
> other accounting systems, such as the Moab tools.
Just symlink mom_logs to wherever you want?
-------------- 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/20070905/e8da030a/attachment.bin
More information about the torqueusers