Logging properties

The Gateway Server logs all messages as XML records to a file directory.

The following table shows the logging properties for Gateway Server.
Table 1. Logging properties
Keyword Value or example Description
logFileSize 100000 Specifies an approximate maximum amount to write (in bytes) to any single log file. If this property is zero, no limit exists.
logFileCount 30 Specifies how many output files to cycle through.
consoleLevel all, info Controls what messages are sent to the user interface for the operator.
consoleBufferSize 50 Specifies the number of console lines the Gateway Server retains for console buffer requests. This buffer allows external applications such as the Control Center to show up to this many lines of the current console state of the Gateway Server. The value is in the range 0 - 500.

Pattern characters

Pattern characters can be used to build the log file name and are useful for addressing logging issues, such as rotating log files. Typically, a log file name consists of a string that can include the following special characters that are replaced at run time.
/
The operating-system-specific path name separator.
%t
The system temporary directory.
%h
The value of the user.home system property.
%g
The generation number to distinguish rotated logs. If the log file count is greater than one and you don't specify the %g pattern, a dot and the generation number are automatically added to the end of the generated file name.
%u
A unique number used to resolve conflicts.
%%
Converts to a single percent sign (%).
For example, a pattern of %t/java%g.log with a log file count of two typically causes the following log files to be written:
  • On AIX® or Linux®: /var/tmp/java0.log and /var/tmp/java1.log