can't include externel file into syslog-ng.conf
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
gatfi sami wrote:
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
The 'include' functionality wasn't added until 3.x. You'll need to either upgrade to the latest version of 3.x or pre-process the configuration file somehow to include the bits you need (think m4, etc) Steve -- On August 1st and 2nd, I will be bicycling 192 miles to support the Dana Farber Cancer Institute. Learn more about the ride and please consider sponsoring me; visit http://sponsorsteve.com for more details!
participants (2)
-
gatfi sami
-
Steve Bernacki