Friday, August 5, 2011

10.7: Re-enable syslogd for incoming connections

I like to have all my logs in one place, so I was using syslogd's network listening on my 10.6 Server to let my router send its logs to it. After updating to 10.7 the plist was reverted to its default state, preventing what I was used to. This hint explains what to do, to get it working again.


First make a backup of the plist, then do the following:

Convert it to XML so it's editable:

sudo plutil -convert xml1 /System/Library/LaunchDaemons/com.apple.syslogd.plist

Edit the file; I used pico with this command (you can also use TextWrangler, etc.):

sudo pico /System/Library/LaunchDaemons/com.apple.syslogd.plist

You need to insert this key:
 <key>NetworkListener</key>  <dict>         <key>SockServiceName</key> ...


Add to digg Add to Reddit Add to Slashdot Email this Article Add to StumbleUpon

Source: http://feeds.macosxhints.com/click.phdo?i=92b7b7b1aee6b8ad77f5a41a0eed2dcb

apple news articles refurbished mac store apple shop uk app store search

No comments:

Post a Comment