Messages from the proxy container to stdout/stderr
are logged to files in the proxy container home directory. The files are available by default. The files utmp.err.<suffix>
and utmp.out.<suffix>
are created for the first time when the proxy container is started and the suffix YY-MM-DD.HHMMSS corresponds to the start time.
Switching the log file
At runtime, the proxy container is set in such a way that stdout/stderr
output is switched to new files every day at midnight. The suffix YY-MM-DD.HHMMSS
added to these files corresponds to the switchover time.
In addition, you can also switch over the stdout/stderr
files manually using the Management Console. To do this, choose the Switch Protocol Files command in the proxy or proxy cluster's context menu.
Displaying the log files
You can display the content of the files as follows:
In the Management Console, choose the nodes Advanced Features - Diagnosis - Output - General Diagnostic Info under the proxy container's node. In the case of a proxy cluster, you must also select the proxy.
Select the item Container STDERR Diagnostics or Container STDOUT Diagnostics Then click the Show File button.
The Management Console then lists all theutmp.out.*
orutmp.err.*
files for selection. Select the required files and click the OK button. The Management Console transfers the selected files to the local diagnostic path of the proxy and displays them in a Text File panel.For details, please refer to the Management Console's online help system.
You can also view and evaluate these logs using a standard editor directly in the proxy container's home directory.
Under Windows you can also use the commands Advanced - Show STDERR Diagnostics or Advanced - Show STDOUT Diagnostics in the program group of the proxy container to display the
utmp.err
orutmp.out
file respectively.
Backing up the log files
The files are backed up to the proxy container directory out-err
the next time the proxy container is started. Before the backup, all the files in the directory out-err
are deleted. If you want to use these files for diagnostic purposes, you must therefore back them up before restarting the proxy.
If the proxy container is executed as a service on Windows systems (see section Starting a proxy ), its first output to stdout
is written to the file utmp.out
and its first output to stderr
is written to the file utmp.err
. If the log is switched, the files have the names: utmp.err.<suffix>
and utmp.out.<suffix>
.
The logs from the last application run are automatically backed up in the directory out-err
.