Mailing Lists: Apple Mailing Lists

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

SOLVED: Re: syslog server on Leopard: How to?



Add these lines to com.apple.syslogd.plist, then unload and re-load using launchctl:

	<key>Sockets</key>
	<dict>

		<!-- other entries here from the default plist -->

		<!-- Add this NetworkListener -->
		<key>NetworkListener</key>
		<dict>
			<key>SockServiceName</key>
			<string>syslog</string>
			<key>SockType</key>
			<string>dgram</string>
		</dict>

	</dict>

I found this on Apple's OSX Server discussion list. This is not mentioned in the documentation for launchd.plist

Happy New Year,
Tom


On Dec 26, 2007, at 4:31 AM, Tom Woteki wrote:

Hi:

I'm trying to set up pon of my machines to be a syslog server. I have set option -udp_in to 1 in the syslogd plist configuration file.

In addition the man page for syslogd says this regarding the udp_in option:

"This module is normally enabled, but is inactive. The actual UDP sockets are managed by launched, and configured in the syslogd configuration file /System/Library/LaunchDaemons/ com.apple.syslogd.plist. In the default configuration, launchd does not open any sockets for the ‘‘syslog’’ UDP service, so no sockets are provided to the ‘‘udp_in’’ module. If no sockets are provided, the module remains inactive."

Has anyone set this up successfully and would you please share your socket configuration with me?

Thank you,
Tom


_______________________________________________
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/drwo %40woteki.com


This email sent to email@hidden

_______________________________________________ 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 on Leopard: How to? (From: Tom Woteki <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.