Pop-Up Thingie
Sidebar
>>> Magnum BBS <<<
Home
Forum
Files
Dark
Log in
Username
Password
Sidebar
Forum
Usenet
COMP.PROTOCOLS.SMB
samba4 equiv logging for samba3 log level and log file
From
spackard@gmail.com
@21:1/5 to
All
on Wed Oct 25 10:23:15 2017
Seeing
WARNING: The "syslog" option is deprecated
I can't figure out a way to use the new logging parameter
to recreate the old way of (from /etc/samba/smb.conf):
syslog = 0
log file = /var/samba/log/log.%m
log level = 1 auth:10
(This is from the Unix and Linux System Administration book,
and I've used it for several years.)
The host runs Solaris 10 patched to samba-4.4.17.
I tried:
logging = syslog@0 /var/samba/log/log.%m@"1 auth:10"
It didn't work as expected.
Things were ending up in syslog, while I wasn't getting
per-host logs.
The smb.conf manpage says (about logging):
The parameter is
a list of backends, where each backend is specified as
backend[:option][@loglevel].
Default: logging =
Example: logging = syslog@1 file
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)
Who's Online
System Info
Sysop:
Keyop
Location:
Huddersfield, West Yorkshire, UK
Users:
295
Nodes:
16 (
2
/
14
)
Uptime:
19:38:00
Calls:
6,640
Files:
12,188
Messages:
5,325,232