[Swift-devel] log naming

Mihael Hategan hategan at mcs.anl.gov
Thu Sep 13 12:36:54 CDT 2007


Done.

bash-3.1$ swift 001-echo.swift
Swift v0.2-dev r1213 (modified locally)

RunID: 20070913-1234-zp0u8vjc
...


On Thu, 2007-09-13 at 12:15 -0500, Veronika Nefedova wrote:
> that sounds like a good solution. As long as I could grep/sort by the  
> date - that'll help me a lot. I wouldn't have to type'ls -l | grep  
> "2007-07-05 11" whenever I need to find any particular run.
> 
> Thanks,
> 
> Nika
> 
> On Sep 13, 2007, at 12:03 PM, Mihael Hategan wrote:
> 
> > Having exclusively the date there might cause conflicts. How about
> > something like this:
> > MolDyn-20070705-1149-abcdef.log?
> >
> > So there would be the date, in a more readable form (it is already
> > included very cryptically in the current scheme), and some smaller
> > random number.
> >
> > Mihael
> >
> > On Thu, 2007-09-13 at 11:20 -0500, Veronika Nefedova wrote:
> >> Hi,
> >>
> >> I am curious at how hard it would be to change the way the logs and
> >> temp dirs are named in swift? Right now its a random number being
> >> attached to the name of the .swift file. I do not find it really
> >> helpful when analyzing the log. Would it be possible to attach a
> >> timestamp instead of a random number?
> >>
> >> For example, right now I have a log file named this way:
> >>
> >> MolDyn-xgv2nuncojno1.log.
> >>
> >> And I would like to have the name to be this:
> >>
> >>   MolDyn-2007-07-05 _11_49.log (or any other standard date/time
> >> format - I do not care about the actual format). All I care is to be
> >> able to find the log of the run done on a particular day/time.
> >>
> >> Note, that this is not just the log naming. The remote working
> >> directories also have the same suffix -- changing it to a timestamp
> >> would help to locate the remote directories for debugging purposes.
> >>
> >> It doesn't look like a big change to do so I am curious how hard it
> >> would be to implement it?
> >>
> >> Thanks,
> >>
> >> Nika
> >>
> >> _______________________________________________
> >> Swift-devel mailing list
> >> Swift-devel at ci.uchicago.edu
> >> http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel
> >>
> >
> 




More information about the Swift-devel mailing list