Logwatch is easy enough to install via Macports, and it seems to work but the amount of output it gives leaves something to be desired. For example, this server is primarily a Samba file server, but logwatch prints out nothing concerning Samba. What I do get is info concerning clamav, any security notifications in the system.log, & a printout of df
.
How to set up logwatch for OS X Server
logwatchmac-osx-server
Best Answer
You have to configure it accordingly in
/opt/local/share/logwatch/default.conf/logfiles/samba.conf
. Adding the full path to the samba log (/var/log/samba/log.smbd
andlog.nmbd
) files should be a first step.