1GANESHA-LOG-CONFIG(8)             NFS-Ganesha            GANESHA-LOG-CONFIG(8)
2
3
4

NAME

6       ganesha-log-config - NFS Ganesha Log Configuration File
7

SYNOPSIS

9       /etc/ganesha/ganesha.conf
10
11

DESCRIPTION

13       NFS-Ganesha  reads  the  configuration  data from: | /etc/ganesha/gane‐
14       sha.conf
15
16       This file lists NFS-Ganesha Log config options.
17
18   LOG {}
19       Default_log_level(token,default EVENT)
20
21       The log levels are:
22
23       NULL, FATAL, MAJ, CRIT, WARN, EVENT,  INFO,  DEBUG,  MID_DEBUG,  M_DBG,
24       FULL_DEBUG, F_DBG
25
26       RPC_Debug_Flags(uint32, range 0 to UINT32_MAX, default 7)
27              Debug  flags  for  TIRPC  (default  7  matches log level default
28              EVENT).
29
30   LOG { COMPONENTS {} }
31       Default_log_level(token,default EVENT)
32
33              These entries are of the form:
34                     COMPONENT = LEVEL;
35
36              The components are:
37                     ALL, LOG, LOG_EMERG, MEMLEAKS,  FSAL,  NFSPROTO,  NFS_V4,
38                     EXPORT,   FILEHANDLE,  DISPATCH,  CACHE_INODE,  CACHE_IN‐
39                     ODE_LRU, HASHTABLE, HASHTABLE_CACHE, DUPREQ, INIT,  MAIN,
40                     IDMAPPER,  NFS_READDIR,  NFS_V4_LOCK,  CONFIG,  CLIENTID,
41                     SESSIONS,  PNFS,  RW_LOCK,  NLM,  RPC,  NFS_CB,   THREAD,
42                     NFS_V4_ACL, STATE, 9P, 9P_DISPATCH, FSAL_UP, DBUS
43
44              Some synonyms are:
45                     FH  =  FILEHANDLE  HT  =  HASHTABLE INODE_LRU = CACHE_IN‐
46                     ODE_LRU INODE = CACHE_INODE DISP = DISPATCH LEAKS =  MEM‐
47                     LEAKS   NFS3   =   NFSPROTO  NFS4  =  NFS_V4  HT_CACHE  =
48                     HASHTABLE_CACHE   NFS_STARTUP   =   INIT   NFS4_LOCK    =
49                     NFS_V4_LOCK NFS4_ACL = NFS_V4_ACL 9P_DISP = 9P_DISPATCH
50
51              The log levels are:
52                     NULL, FATAL, MAJ, CRIT, WARN, EVENT, INFO, DEBUG, MID_DE‐
53                     BUG, M_DBG, FULL_DEBUG, F_DBG
54
55                     default EVENT
56
57   LOG { FACILITY {} }
58       name(string, no default)
59
60       destination(string, no default, must be supplied)
61
62       max_level(token,default FULL_DEBUG)
63              The log levels are:
64                 NULL, FATAL, MAJ, CRIT, WARN, EVENT, INFO, DEBUG,  MID_DEBUG,
65                 M_DBG, FULL_DEBUG, F_DBG
66
67       headers(token, values [none, component, all], default all)
68
69       enable(token, values [idle, active, default], default idle)
70
71   LOG { FORMAT {} }
72       date_format(enum,default ganesha)
73
74              Possible values:
75                     ganesha, true, local, 8601, ISO-8601, ISO 8601, ISO, sys‐
76                     log, syslog_usec, false, none, user_defined
77
78       time_format(enum,default ganesha)
79
80              Possible values:
81                     ganesha, true, local, 8601, ISO-8601, ISO 8601, ISO, sys‐
82                     log, syslog_usec, false, none, user_defined
83
84       user_date_format(string, no default)
85
86       user_time_format(string, no default)
87
88       EPOCH(bool, default true)
89
90       CLIENTIP(bool, default false)
91
92       HOSTNAME(bool, default true)
93
94       PROGNAME(bool, default true)
95
96       PID(bool, default true)
97
98       THREAD_NAME(bool, default true)
99
100       FILE_NAME(bool, default true)
101
102       LINE_NUM(bool, default true)
103
104       FUNCTION_NAME(bool, default true)
105
106       COMPONENT(bool, default true)
107
108       LEVEL(bool, default true)
109

SEE ALSO

111       ganesha-config(8)
112
113
114
115
116                                 Feb 09, 2021            GANESHA-LOG-CONFIG(8)
Impressum