Hello,
It appears that syslog-ng does not correctly identify the 'security'
facility:
$ logger -p security.info oink
yields:
Aug 25 10:46:43 <d.info> syslog1 oink
Note the false facility "d".
In src/syslog-names.c, the mapping for 'security' is done thusly:
{"security", LOG_AUTH}, /* DEPRECATED */
FreeBSD, however, appears to still use LOG_SECURITY, which leads to
syslog-ng falsely categorizing the incoming messages. I'd be able to
deal with this if it actually did fall back to LOG_AUTH, but for some
reason it shows up as facility "d" (which seems like a string comparison
gone awry).
-Jan