Hi!
You can also use special names in Mercury log files to re-create them regularly. From help file:
Mercury allows you to use certain special characters in the names you give for log files: these special characters are replaced by Mercury each time it needs to open the log file, allowing you to "build" a filename based on the time and date. This is particularly useful for making log files "roll over" periodically. The special characters you can use in log file names are:
~Y The year, expressed as 2 digits
~M The month (January=1) expressed as 2 digits
~D The day of the month (1..31) expressed as 2 digits
~W The week of the year starting from 0
Example: to create a logfile for each week of the year, you might enter a path like this:
C:\MERCURY\LOGS\MERC~Y~W.LOG
Regards
Jyrki
<p>Hi!</p><p>&nbsp;You can also use special names in Mercury log files to re-create them regularly. &nbsp;From help file:</p><p>Mercury allows you to use certain special characters in the names you give for log files: these special characters are replaced by Mercury each time it needs to open the log file, allowing you to "build" a filename based on the time and date. This is particularly useful for making log files "roll over" periodically. The special characters you can use in log file names are:</p><p>&nbsp;<span class="Apple-tab-span" style="white-space:pre"> </span>~Y<span class="Apple-tab-span" style="white-space:pre"> </span>The year, expressed as 2 digits</p><p>&nbsp;<span class="Apple-tab-span" style="white-space:pre"> </span>~M<span class="Apple-tab-span" style="white-space:pre"> </span>The month (January=1) expressed as 2 digits</p><p>&nbsp;<span class="Apple-tab-span" style="white-space:pre"> </span>~D<span class="Apple-tab-span" style="white-space:pre"> </span>The day of the month (1..31) expressed as 2 digits</p><p>&nbsp;<span class="Apple-tab-span" style="white-space:pre"> </span>~W<span class="Apple-tab-span" style="white-space:pre"> </span>The week of the year starting from 0</p><p>
</p><p>Example: to create a logfile for each week of the year, you might enter a path like this:</p><p>&nbsp; &nbsp; &nbsp; C:\MERCURY\LOGS\MERC~Y~W.LOG</p><p>&nbsp;</p><p><span style="font-size: 10pt;">Regards</span></p><p><span style="font-size: 10pt;">Jyrki&nbsp;</span></p>