perl - Creating log files with a version history -


I have a Perl script which works with ten text files and after each successful operation, for each of them Creates a log file. / P>

But if I run the script again, it will override any existing log files.

How can I apply some version controls for backup purposes, so that new log files can be created if the script is run again, without overwriting the previous one?

I run scripts every time, but not every time to ensure that it is efficient or not.

or can be used to access such features.

Specifically you can use the log :: dispatch :: file :: rolling or log :: dispatch :: file :: stamped < / Code>


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -