Hello. I have been playing around trying to get these two things to work with 
rsyslog running on osx high sierra but currently it is not working as-expected. 
I created a launchdaemon in /Library/LaunchDaemons which is running after boot, 
however the bash script I created, which simply has: rsyslogd -d -4 , does not 
launch rsyslog. If I manually run the script (as root) it boots and runs 
rsyslog fine. Can anyone help there?

Also, I created a config with the online builder creating RuleSets to  capture 
separate log files for each device, however I’ve never been able to get this to 
actually work. The only RuleSet that ever works for me is the Default RuleSet 
to capture all devices logging information. 



An example of one of the rulesets is:

# rsyslog RuleSets
ruleset(name="Firewall Logging") { 
        if $fromhost-ip == "192.168.20.1" then {
                action(type="omfile" 
                        File="/var/log/tijmgw01")
        }

}


The only logging I get results from is from:

# Default RuleSet
action(type="omfile" 
         File="/var/log/messages”)

Thank you.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to