freenx-server/node.conf.def/03-logging.conf
2025-08-08 20:28:57 +02:00

30 lines
1.1 KiB
Plaintext

#########################################################################
# Logging directives
#########################################################################
# This directives controls the verbosity of the server-wide log.
# 0/1: No Logging/Logging
#@ type: bool
NX_LOG_LEVEL=0
# Before turning logging on, please make sure that NX_LOGFILE is
# writeable for the "nx" user
#@ type: string
#@ check: path error
NX_LOGFILE=/var/log/nxserver.log
# This directive controls if the temporary session directory
# ($HOME/.nx/C-<hostname>-<display>-<session_id>) should be kept after a
# session has ended. A successfully terminated session will be saved as
# T-C-<hostname>-<display>-<session_id> while a failed session will be saved
# as F-C-<hostname>-<display>-<session_id>.
# The default is to cleanup the directories.
#@ type: bool
SESSION_LOG_CLEAN=1
# Amount of seconds nxserver is to keep session history. The default of 2592000
# is equivalent to 30 days. If this is 0 no session history will be kept
# and a negative value denotes infinity.
#@ type: int
SESSION_HISTORY=2592000