I would like to enable logging on my file sharing service. (It's crashing intermittently and I can't figure out why.)
When I inspect the plist for the file sharing service **smbd** on my Mac running Mojave, I see:
user@mac:~ $ plutil -p /Library/Preferences/SystemConfiguration/com.apple.smb.server.plist
{
"AclsEnabled" => 1
"DOSCodePage" => "437"
"LocalKerberosRealm" => "LKDC:SHA1..."
"LogLevel" => 0
"NetBIOSName" => "transom"
"ServerDescription" => "Transom"
"SigningRequired" => 0
}
So, it looks like logging is configured with the parameter "LogLevel".
I've read the smbd man page, and it's not much help, with this parameter.
- What are the allowed log levels?
- Which level is best for debugging **smbd** crashes?
- What's the preferred method for tweaking a value? (plutil can set, or...)
Asked by Matt
(592 rep)
Jun 21, 2019, 06:25 PM
Last activity: Jan 17, 2025, 02:37 PM
Last activity: Jan 17, 2025, 02:37 PM