GANESHA-LOG-CONFIG(8) | NFS-Ganesha | GANESHA-LOG-CONFIG(8) |
ganesha-log-config - NFS Ganesha Log Configuration File
/etc/ganesha/ganesha.conf
NFS-Ganesha reads the configuration data from: | /etc/ganesha/ganesha.conf
This file lists NFS-Ganesha Log config options.
These options may be dynamically updated by issuing a SIGHUP to the ganesha.nfsd process.
Default_log_level(token,default EVENT)
The log levels are:
NULL, FATAL, MAJ, CRIT, WARN, EVENT, INFO, DEBUG, MID_DEBUG, M_DBG, FULL_DEBUG, F_DBG
These flags are only used if the TIRPC component is set to DEBUG
default none
ALL is a special component that when set, sets all components to the specified value, overriding any that are explicitly set. Note that if ALL is then removed from the config and SIGHUP is issued, all components will revert to what is explicitly set, or Default_Log_Level if that is specified, or the original log level from the -N command line option if that was set, or the code default of EVENT.
TIRPC is a special component that also sets the active RPC_Debug_Flags. If the level for TIRPC is DEBUG or MID_DEBUG, the custom RPC_Debug_Flags set by that parameter will be used, otherwise flags will depend on the level the TIRPC component is set to:
CRIT or MAJ: TIRPC_DEBUG_FLAG_ERROR
WARN: TIRPC_DEBUG_FLAG_ERROR | TIRPC_DEBUG_FLAG_WARN
EVENT or INFO: TIRPC_DEBUG_FLAG_ERROR | TIRPC_DEBUG_FLAG_WARN | TIRPC_DEBUG_FLAG_EVENT
DEBUG or MID_DEBUG: RPC_Debug_Flags
FULL_DEBUG: 0xffffffff
name(string, no default)
destination(string, no default, must be supplied)
headers(token, values [none, component, all], default all)
enable(token, values [idle, active, default], default idle)
user_date_format(string, no default)
user_time_format(string, no default)
EPOCH(bool, default true)
CLIENTIP(bool, default false)
HOSTNAME(bool, default true)
PROGNAME(bool, default true)
PID(bool, default true)
THREAD_NAME(bool, default true)
FILE_NAME(bool, default true)
LINE_NUM(bool, default true)
FUNCTION_NAME(bool, default true)
COMPONENT(bool, default true)
LEVEL(bool, default true)
April 28, 2023 |