
Chapter 14. Server Configuration
14.3.1.1.1. Writing Logs to File
The file name for the log file written to local disk is configured by editing the parameter logfile under
the logging folder. To turn off logging to file, set the parameter log_to_file to 0. Note that the log
file will still be created. If abnormal situations occur because of programming errors, data may appear in
the file.
14.3.1.1.2. Writing Logs to Syslog
For large installations, using a central loghost might be very convenient. ThinLinc supports writing logs
to syslog, which makes it possible to collect all logs in one place.
By setting the parameter log_to_syslog under the logging folder to 1, logs will be written to syslog.
Specify the syslog facility in the parameter syslog_facility . The default behaviour is not to log to
syslog.
If the parameter syslog_host is set, logs will be sent via UDP to the syslog daemon on the host
specified. If not, logs will be sent to syslog by writing to the socket specified in syslog_socket . The
latter is the default.
14.3.1.2. Subloggers
Each program doing logging uses a number of sub loggers. Sub loggers are a way to distinguish different
types of information written by the program. For example, the VSM server uses the subloggers license,
session and shadow for logging license-related messages, information about sessions and information
about shadowing repectively. Every sublogger can be configured to use a different log level. This allows
the system administrator to, for example, increase the information about new sessions without increasing
the overall loglevel, easing debugging of specific problems.
14.3.1.3. Log levels
The amount of logging can be configured using log levels. The log levels available are:
Table 14-1. Log Levels
Log Level Explanation
ERROR Unrecoverable Errors
WARNING Warnings - something went wrong, but ThinLinc
can recover.
INFO Messages that are useful in daily maintenance.
DEBUG Messages that can be of use for system
administrators when debugging problems.
DEBUG2 Messages useful to trained ThinLinc personel
when doing advanced debugging.
157
Comentarios a estos manuales