[Swift-devel] log naming
Tiberiu Stef-Praun
tiberius at ci.uchicago.edu
Thu Sep 13 12:17:59 CDT 2007
Actually I had the need to parse the log for "lightweight provenance
tracking" purposes, and if you think it's useful, I am attaching the
script that I used for this purpose (it's for the CNARI project)
http://www.ci.uchicago.edu/trac/swift/browser/SwiftApps/Aphasia/saveExperiment.py
Tibi
On 9/13/07, Mihael Hategan <hategan at mcs.anl.gov> 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
> >
>
> _______________________________________________
> Swift-devel mailing list
> Swift-devel at ci.uchicago.edu
> http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel
>
--
Tiberiu (Tibi) Stef-Praun, PhD
Research Staff, Computation Institute
5640 S. Ellis Ave, #405
University of Chicago
http://www-unix.mcs.anl.gov/~tiberius/
More information about the Swift-devel
mailing list