This parameter configures logging backends. Multiple
backends can be specified at the same time, with different log
levels for each backend. The parameter is a list of backends,
where each backend is specified as backend[:option][@loglevel].
The 'option' parameter can be used to pass backend-specific
options.
The log level for a backend is optional, if it is not set for
a backend, all messages are sent to this backend. The parameter
determines overall log levels,
while the log levels specified here define what is sent to the
individual backends.
When is set, it overrides the
and parameters.
Some backends are only available when Samba has been compiled
with the additional libraries. The overall list of logging backends:
syslog
file
systemd
lttng
gpfs
ringbuf
The ringbuf backend supports an
optional size argument to change the buffer size used, the default is 1 MB:
ringbuf:size=NBYTES
Example: [email protected] file
Registry Hive | HKEY_LOCAL_MACHINE |
Registry Path | Software\Policies\Samba\smb_conf\logging |
Value Name | logging |
Value Type | REG_SZ |
Default Value |