[syslog-ng] can't include externel file into syslog-ng.conf

gatfi sami pfegatfi.sami at gmail.com
Wed Jul 8 18:32:11 CEST 2009


Hi

 i am using syslog-ng 2.0.9-27.22

when i try to include an externel file into /etc/syslog-ng/syslog-conf

options { long_hostnames(off); sync(0); perm(0640); stats(3600);
#check_hostname(no);
 keep_hostname(yes);    chain_hostnames(no);
};

#
# 'src' is our main source definition. you can add
# more sources driver definitions to it, or define
# your own sources, i.e.:
#
#source my_src { .... };
#
source src {
    #
    # include internal syslog-ng messages
    # note: the internal() soure is required!
    #
    internal();

    #
    # the default log socket for local logging:
    #
    unix-dgram("/dev/log");

};

*include "/opt/topnet/etc/client.conf";* ligne 52


But unfortunatly i have an error

tarting syslog servicessyntax error at 52
> startproc:  exit status of parent of /sbin/syslog-ng: 1



So how can i include an externel file into syslog-ng.conf ?

need help around here gys i cant avoid including the file

thks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20090708/6842dbaf/attachment.htm 


More information about the syslog-ng mailing list