On Tue, Dec 2, 2008 at 5:30 PM, Carlos E. R. <robin.listas@telefonica.net> wrote: <snip>
First, about "/etc/syslog-ng/syslog-ng.in": it was used during the transition of syslog to syslog-ng, and then it was dropped in the following openSUSE version.
Since SLES is still in the 10.x versions, it is still the default When I ran SuSeconfig --module syslog-ng again, I noticed this time errors (that were probably there the first time, but I did not notice): "rp-syslog:/var/log # SuSEconfig --module syslog-ng Starting SuSEconfig, the SuSE Configuration Tool... Running module syslog-ng only Reading /etc/sysconfig and updating the system... Executing /sbin/conf.d/SuSEconfig.syslog-ng... Checking //etc/syslog-ng/syslog-ng.conf.SuSEconfig file: syntax error at 199 Parse error reading configuration file, exiting. (line 199) Please correct the //etc/syslog-ng/syslog-ng.conf.in file. Finished" Line 199 as reported by gedit is the line: #this is for separating out network hosts into individual log files destination std { file ("/var/log/HOSTS/$YEAR-$MONTH/$HOST/$FACILITY-$YEAR-$MONTH-$DAY" owner(root) group(root) perm(0600) dir_perm(0700) create_dirs (y\es) ); }; #the following line is 199: log { source(src); destination(std); }; Is there anything in particular about this line that I have gotten wrong? As far as I can tell it is right out of the example I worked from, but since I really do not understand the logic that is being used, or the particular rules of syntax, I'm not sure what the problem might be. Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org