1GANESHA-LOG-CONFIG(8) NFS-Ganesha GANESHA-LOG-CONFIG(8)
2
3
4
6 ganesha-log-config - NFS Ganesha Log Configuration File
7
9 /etc/ganesha/ganesha.conf
10
11
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,
39 CACHE_INODE_LRU, HASHTABLE, HASHTABLE_CACHE, DUPREQ,
40 INIT, MAIN, IDMAPPER, NFS_READDIR, NFS_V4_LOCK, CONFIG,
41 CLIENTID, SESSIONS, PNFS, RW_LOCK, NLM, RPC, NFS_CB,
42 THREAD, NFS_V4_ACL, STATE, 9P, 9P_DISPATCH, FSAL_UP, DBUS
43
44 Some synonyms are:
45 FH = FILEHANDLE HT = HASHTABLE INODE_LRU =
46 CACHE_INODE_LRU INODE = CACHE_INODE DISP = DISPATCH LEAKS
47 = MEMLEAKS 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,
53 MID_DEBUG, 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
111 ganesha-config(8)
112
113
114
115
116 Jan 28, 2021 GANESHA-LOG-CONFIG(8)