Re: Another source of time for the logging package?

2005-06-01 Thread Skip Montanaro
>> Before I get out my scalpel, has anyone found a non-invasive way to >> do this (or already done the surgery and would be willing to share >> it)? Ames> While I'm not sure you would call the following 'non-invasive' Ames> I've used it in a similar situation: Ames> class

Re: Another source of time for the logging package?

2005-06-01 Thread Ames Andreas
Skip Montanaro wrote: > Before I get out my scalpel, has anyone found a non-invasive way to > do this (or already done the surgery and would be willing to share > it)? While I'm not sure you would call the following 'non-invasive' I've used it in a similar situation: class MyLogRecord(logging.Lo

Another source of time for the logging package?

2005-06-01 Thread Skip Montanaro
I have code I run in both live and historical modes. When running in historical mode the input stream is a set of stored event sequences that have their own timestamps. When picking through the logfiles for a particular run, I'd much prefer it if the timestamps in the logfile generated with the