Вашим лучшим выбором был бы Debian с Tomcat Apache.
Кажется,
if $syslogfacility-text == 'local5' and $syslogseverity >= '5' then ~
сработал ...