Reference Manual

NAME

log - interact with the logging mechanism Latest log entries Popup
SYNOPSIS
log filename message
logs
lcat

DESCRIPTION
The NAT32 log command writes a message to a specified file. The Windows Process ID and the current time and date are prepended to each logfile entry. If the NAT32 thread that is writing to the logfile has a TCP connection as its STDOUT device, the IP Address and Port Number is also prepended to the message.

For each message written to any logfile, a copy is placed in a fixed-length history array. When the array is full, the oldest entry is deleted to make space for a new entry.

Command lcat prints the messages in the history array.

Command logs prints the current size of each available log file.

NOTES
The history array currently holds 20 entries.
SEE ALSO
Administration, Monitor