beautypg.com

Log file – Dataman 40Pro User Manual

Page 129

background image

PG4UW

129

Log file

This options associates with using of Log window. All reports for Log window can be written
into the Log file too. The Log file name is "Report.rep" as default. The control program creates
this file with name and directory specified in Log file name edit box.
Following Log file options are available:

No

default, content of Log window is not copied to Log file, i.e. all reports will be
displayed to Log window only

New

deletes old Log file and creates new one during each start of control program

Append adds Log window reports into existing Log file, If file does not exist, the new file

will be created

Checkbox Add date information to Log file name allows user to set date information into
Log file name specified by user in Log file name edit box. When the checkbox is checked,
program automatically adds current date string into user specified Log file name by the
following rules:

If user specified log file name has format:
.

The name with added date will be:
<-yyyy-mmm-dd>.

The new part representing of date consists of yyyy - year, mmm - month and dd - day.

Example: User specifies Log file name: c:\logs\myfile.log
The final log file name with added date will look like this (have a date November, 7th, 2006):
c:\logs\myfile-2006-nov-07.log

If do you wish to have log file name without any prefix before date information, you can
specify the log file name as:

. - dot is the first in file name

Example: User specifies Log file name: c:\logs\.log
The final log file name with added date will look like this (have a date November, 7th, 2006):
c:\logs\2006-nov-07.log

Advanced options about Log file size limit are available too.

option Use Log file text truncating when file size limit is reached - when checked, the

Log file size limit is on. It means, that when Log file size reaches specified value, the part
of text included in Log file will be truncated. When the option is unchecked, the size of Log
file is unlimited, respectively is limited by free disk space only.

option Maximum Log file size specifies the maximum size of Log file in kB.
option Amount of truncated text specifies the percentage of Log file text, which will be

truncated after Maximum Log file size is reached. The higher value means more text will
be truncated (removed) from Log file.

The Log file settings can be saved to disk by command Options / Save options.

This manual is related to the following products: