Created
July 9, 2014 15:00
-
-
Save gigorok/4458606c515e103e0279 to your computer and use it in GitHub Desktop.
Restart syslog on Mac OS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~#: launchctl unload /System/Library/LaunchDaemons/com.apple.syslogd.plist | |
~#: launchctl load /System/Library/LaunchDaemons/com.apple.syslogd.plist |
sudo killall -HUP syslogd
is simpler. launchctl
won't work on modern MacOS:
<Error>: Caller not allowed to perform action: launchctl.87066, action = service bootout, code = 150: Operation not permitted while System Integrity Protection is engaged, uid = 0, euid = 0, gid = 0, egid = 0, asid = 100005
Not working for me
sudo launchctl kickstart -kp system/com.apple.syslogd
out of the above options @n8felton 's is the one that works for me in Ventura
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
or
~# ps -ax |grep syslog
35739 ?? 0:05.92 /usr/sbin/syslogd
42499 ttys006 0:00.00 grep syslog
~# kill -HUP 35739