mailSuggestion for auto log


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Troels Emtekær Linnet on May 30, 2014 - 12:55:
Hi Edward.

I was thinking of an auto log file function.

If one just provide "-t" or "-l" with no argument, it will default to

from time import strftime
strftime("%Y%m%d_%H%M%S").log
'20140530_125334'.log

If a script name is provided, it will be:

script_name_20140530_125334.log

What do you think?

Best
troels


Related Messages


Powered by MHonArc, Updated Fri May 30 15:00:15 2014