Setting the Logging Parameters

The parameters in this view define the basic settings for log files of the software, that is, the values specify the contents of granularity of the log files as well as their output location for example. This also includes the log file sizes and numbers, which types of entries are to be logged, the time format, if alerts are to be sent in case of logged errors, etc.

Parameter

Default value

Description

Column Separator
The separator character between the columns in the output. If no value is supplied, the output is padded out for readability. If a value is supplied, text padding is not done.
Time Format%Y/%m/%d %H:%M:%S

A formatting string used to format the timestamp part of the logged output. This field may, however, contain any string of characters the administrator deems appropriate and the variables may be ordered in any desired way. The variables this entry may contain the following:

  • %y for the year part of the timestamp with 4 digits, for example, 2004
  • %m for the month as its number , for example, 01 for January and 12 for December
  • %d for the day of the month
  • %H for the hour indication
  • %M for the minutes of the hour
  • %S for the seconds of the minute
Send alert when an error occurredNoSelect this option when an alert is to be sent to the master when an error is added to the agent log file.

Output File

../log/mtxagent.log

Defines the path to the log file relative to the installation directory:

  • none : There is no debugger output regardless of the other settings.
  • stdout -sa -cw : The debugging output is sent to the standard output.
  • file : The debugging output is written to a file whose name is to be specified in this field with a path relative to the agent installation directory, for example, ../../logs/namp.log for a file located on the same level as the installation directory, not below.

Enable List

*

A comma separated sequence of message filter names which are to be output to the log file. The special character * means all possible values, an empty string disables the list.

Disable List


A comma separated sequence of message filter names which are to be filtered from going to the log file. The special character * means all possible values. By default the disable list is applied AFTER the enable list and so has a higher precedence.

List to Load First

Enable List

Defines if the debugging is executed according to the principle of everything being disabled with some exceptions or everything being enabled with some exceptions. This system is defined through two lists, the Disable List and Enable List , which are explained following.

Displayed Types

*

A comma separated list of debug message types which are to be output to the log file. The special character * means all possible values.

Maximum Agent Log Size (Byte)

20000000

The maximum size of the log file in bytes. When the output file size reaches this limit, it is deleted and a new file of the same name created to start again. If the output file is stdout this setting has no effect. If set to 0 or not specified at all, there is no limit check on the size of the file.

Maximum Agent Log File Count

20

Maximum number of log file backups to keep. As a log file hits its maximum size it is copied to a backup file with an incrementing integer index. When the number of backups hits this limit, backup number 1 is removed and all the others are renumbered down.

Agent Log Clean Start

Yes

Defines if the specified log file is to be backed up at each start of the agent. If enabled the log file specified in Output File is backed up at agent start time.

Maximum Audit Log File Size (Bytes)

5000000

Controls the maximum size of the audit log file in bytes. When the output file size reaches this limit, it is deleted and a new file of the same name created to start again. If the output file is stdout this setting has no effect. If set to 0 or not specified the limit is the value of the Maximum Agent Log Size entry.

Maximum Audit Log File Count

5

Maximum number of audit log file backups to keep. As a log file hits its maximum size it is copied to a backup file with an incrementing integer index. When the number of backups hits this limit, backup number 1 is removed and all the others are renumbered down.

Audit Log Clean Start

No

Defines if the specified audit log file is to be backed up at each start of the agent.

Enable SQL Log

Yes

Defines if the SQL log file is active.

SQL Output Log File

../log/Vision64Database.log

Defines the path to the SQL log file relative to the installation directory.

Maximum SQL Log File Size (Bytes)


5000000

The maximum size of the SQL log file in bytes. When the output file size reaches this limit, it is copied to a backup file with an incrementing integer index and a new file of the same name created to start again.

Maximum SQL Log File Count5Maximum number of the SQL log file backups to keep. As a log file hits its maximum size it is copied to a backup file with an incrementing integer index. When the number of backups hits this limit, backup number 1 is removed and all the others are renumbered down.
Maximum SQL Execution Time0Execution time from which the SQL query will be written to the log file. If the value is set to 0, all the SQL queries will be written in the log file.
Was this page helpful? Yes No Submitting... Thank you

Comments