[syslog-ng] Include doesn't work
Balazs Scheidler
bazsi at balabit.hu
Fri Jun 29 15:46:15 CEST 2012
On Thu, 2012-06-21 at 15:57 +0200, Gergely Nagy wrote:
> Jakub Prokeš <jakub.prokes at superhosting.cz> writes:
>
> > Hi!
> >
> >> Include files are only snippets and not full configs, so as such they
> > can not have the @version line in them.
> >
> > I removed version info from snippet, but syntax error is still here.
> >
> > [root at logger:~]# syslog-ng -s -d
> > Adding include file; filename='001-sample.conf'
> > Starting to read include file;
> > filename='/etc/syslog-ng/syslog-ng.conf.d/001-sample.conf', depth='1'
> > syntax error in /etc/syslog-ng/syslog-ng.conf.d/001-sample.conf at line 7.
> >
> > At line 7 start this section:
> >
> > destitation d_messages_sample {
> ^ typo there, it should be "destination"
>
Newer syslog-ng's tell you more detailed error description, which
would've made this more obvious. :)
--
Bazsi
More information about the syslog-ng
mailing list