I am trying to create a custom facility and also trying to get the reserved local ones to work. My ultimate goal is to write apache access logs to this facilty and send them to another server.
I added this to syslog.conf
and then used logger as follows:
logger -p local0.info "some mesg"
But this file never gets written too. I have restarted syslog (and even gone as far as rebooted the box)
I am trying to get syslog to write to this new file first, and then worry about routing it to another machine.
Also, can a completely custom facility be created such as web.access as opposed to user.info for example?