Log file for kfserver (UNIX)ΒΆ
Errors, events and debug messages generated by kfserver are logged in the file $SCULPTOR/log/kfserver.log. This file is created when kfserver starts.
Messages are written to the log file to record that the server has started or stopped, or that an unexpected system error has been encountered (e.g. unable to allocate memory). Details are also recorded for client connections that are terminated abnormally.
If the -d option is used with kfserver every client connection or disconnection is also logged, and, unless redirected elsewhere on the command line, the stdout and stderr outputs of all executed child processes are written to the files:
$SCULPTOR/server/kfserver.stdout |
$SCULPTOR/server/kfserver.stderr |
These files are always recreated empty when kfserver is started with the -d option.
By default, programs executed by kfserver have stdin set to /dev/null, and stdout and stderr redirected to the system log file $SCULPTOR/log/kfserver.log. This avoids problems with programs that read or write these channels by mistake. The standard channels can still be redirected elsewhere on the command line in the usual way. Unexpected system errors on a server, such as insufficient memory, are therefore noted in the log file.
RELATED TOPICS |