Restart Syslog on Mac OS X

Restarting your rsyslog service on Ubuntu is easy.

$ service rsyslog restart

But how do you do that on a Mac without restarting your machine? Here's how:

$ launchctl unload /System/Library/LaunchDaemons/

$ launchctl load /System/Library/LaunchDaemons/

This may look weird if you're not familiar with OS X's Launchctl daemon.

Alex Ho

Alex is the Lead Developer at NYCEDC working as a front-end/back-end developer and sysadmin. He has a Graphic Design certification from NYU and is a UX practitioner.