[Samba] Confiming Logs are "Normal"
cs at samba.org
Wed Jan 26 23:21:18 UTC 2022
On Wed, Jan 26, 2022 at 04:47:41PM -0500, ralph strebbing via samba wrote:
> So following an article to enable User Identification on our PaloAlto,
> I'm noticing some new logs in syslog, notably:
> Jan 26 16:43:26 dc2 sh: lpcfg_do_global_parameter: WARNING:
> The "syslog" option is deprecated
> I understand the syslog option on smb.conf is deprecated, in this
> instance, what should I do to still route these to the remote syslog
The same behavior is available through the "logging" parameter, which is
a bit more flexible with regards of sending log messages to different
targets. See "man smb.conf":
The logging parameter should be used instead. When logging is
set, it overrides the syslog parameter.
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].
Example: logging = syslog at 1 file
So just set "logging" instead of "syslog".
More information about the samba