After exhaustive googling, I found an article on configuring Syslog
on MacOSX 10.4 to accept entries from the network:
http://www.macosxhints.com/article.php?story=20060327074531639&lsrc=osxh
Everything seems to be logging just fine now.
On Jan 3, 2007, at 6:11 PM, Ryan Shelley wrote:
Hi everyone... Has anyone else configured Log4J and SyslogAppender
for MacOSX 10.4, and if so, what did you have to do in particular
to get Syslog to accept logs? I'm fairly certain my Log4J
configuration (see below) is setup ok, however, I'm not certain my
syslog is. I read in the manpages for syslog that the option "-u"
enables UDP, unfortunately, I'm not certain what config file in
MacOSX to change to add that option.
Here's my Log4J config:
<appender name="Syslog" class="org.apache.log4j.net.SyslogAppender">
<param name="syslogHost" value="localhost" />
<param name="Facility" value="local0" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-4r [%t] (%F:%L) %-5p
%c %x - %m%n" />
</layout>
</appender>
Thanks!