SOAPam Client

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

 

Option

Description

file

The name of the log file. If not fully qualified then the value of the _DEFAULTS define is used to complete the file name.

format

The 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".

level

The 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:

GMT

Greenwich mean time (the default)

LST

Local 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

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