Groups
Sign in
Groups
comp.protocols.smb
Conversations
About
Send feedback
Help
info
Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss
Learn more
samba4 equiv logging for samba3 log level and log file
18 views
Skip to first unread message
spac...@gmail.com
unread,
Oct 25, 2017, 1:23:15 PM
10/25/17
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
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
0 new messages