I have a shell script that logs messages to syslog using the 'logger' command. In my syslog.conf, I filter those messages to a specific log file. This is a portable solution that works across all unices. On OS X, I would also like to have these messages sent to growl. I have tried both of the following with no success:
*.* |exec /usr/local/bin/growlnotify
*.* @127.0.0.1:23052
