phusion/baseimage-docker

syslog-ng configuration file out of date and/or malformed

ralphschindler opened this issue · 1 comments

I'm at a bit of a loss as to what is missing from the syslog-ng file...

~/Pr/w/docker-laravel ➜  docker run -it --rm phusion/baseimage:master-amd64 bash

root@b3b762faee62:/# /etc/init.d/syslog-ng start
 * Starting system logging syslog-ng
Error parsing config, syntax error, unexpected KW_FILTER, expecting '}' in /etc/syslog-ng/syslog-ng.conf:85:1-85:7:
80      # Filters
81      ########################
82      # Here's come the filter options. With this rules, we can set which
83      # message go where.
84
85----> filter f_dbg { level(debug); };
85----> ^^^^^^
86      filter f_info { level(info); };
87      filter f_notice { level(notice); };
88      filter f_warn { level(warn); };
89      filter f_err { level(err); };
90      filter f_crit { level(crit .. emerg); };

Any ideas?

syslog-ng was not being started via the my_init script, which it requires for the sed/// to take place and update the configuration to be properly formed.