Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: syslog server funciton in osx server?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Mar 10, 2007, at 11:12 PM, don montalvo wrote:

is anyone running syslog server on their xserve?

*Everyone* is running syslog on their OS X server. OS X "client", too. To be pedantic, it's actually asl as syslog in disguise.



a couple clients want their macs to route syslog output to their internal xserver. the 10.4 command line instructions for osx server don't work...good thing i backd up the /etc/rc file. ;)

Of course it's a good idea to backup any config file before you go mucking with it. However, you wouldn't adjust this in /etc/rc, but in the launchd plist that fires off syslog:


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

I'm sure this has been discussed on this list before, but for the sake of completeness, you need to update the ProgramArguments key to pass in the "-u" switch:

<key>ProgramArguments</key>
        <array>
                <string>/usr/sbin/syslogd</string>
                <string>-u</string>
        </array>


That'll make syslogd (asl) listen for remote syslog messages. Something goes a little batty during the nightly job that makes syslog stop listening, so, you should unload and reload it somewhere after that job runs (like in daily.local).


Hope that helps.

- --

Edward Marczak
w: http://www.radiotope.com
b: http://www.radiotope.com/writing
e: email@hidden











-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFF9DTHgorv+48aTEARAjmfAJ4rnXeFeVzdHx93hk44oHrp/G2IHACgnjbT
tuD3uQ/dKp3rAZUF4TzrTAg=
=G+GV
-----END PGP SIGNATURE-----
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >syslog server funciton in osx server? (From: don montalvo <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.