MacOs SMB Server logging
I'm trying to enable debug logging for SMB Server. Did the following:
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server.plist LogLevel -int 1
sudo /usr/libexec/smb-sync-preferences
I can now see events using
sudo log stream --level debug --predicate 'senderImagePath endswith "smbd”’
But the logs say nothing because of Private mode. Now I know that I can turn Private mode off by installing a profile like described here but I really would like to avoid that.
Is there any other way of getting this information?
I'm really only interested in seeing who connected to my server and using which protocol.