Skip to main content
Skip table of contents

Log Configuration

Dynamic logging configuration is activated using the -logcfg startup option. Note that when the -logcfg option is used, the -log and -logtime options are ignored.

Configuration Reference

[log] Section

 

OptionDescription
fileThe name of the log file. If not fully qualified then the value of the _DEFAULTS define is used to complete the file name.
formatThe format value may be "text" indicating that the log events should be output as text strings or "event" indicating that the log events should be output in EMS event format.. If not specified the default value is "text".
levelThe level value may be "error", "warning", "info", or "trace" and controls the type of information that is output to the log destination. The "error" level produces the least output while the "trace" level produces the most output. The default value is "info".
time

Specifies the time format for the process log. Available formats are:

GMTGreenwich mean time (the default)
LSTLocal standard time (local time without DST adjustment)
LCT Local civil time (local time with DST adjustment)

Additionally, the Common Configuration Options may be included to specify file allocation and rollover options.

Examples

TEXT
; Log to a file
[log]
file=$data1.logs.zzlog
format=text
level=info
time=lct
rollover-file=$data1.archive.log
rollover-count=10
TEXT
; Log to $0
[log]
file=$0
format=event
level=info
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.