-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, 2008-12-02 at 21:57 -0600, Peter Van Lone wrote:
On Tue, Dec 2, 2008 at 5:30 PM, Carlos E. R.
<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):
Yes. In opensuse, when they started using syslog-ng, that was the method. You made changes to syslog-ng.in, then we run suseconfig, as you say above. On the next version they dropped this procedure, and we edit /etc/syslog-ng/syslog-ng directly.
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); };
I would have used "log { source(src); destination(std); };" in a single line. But the problem could be the backslash in the middle of the "yes" above, as others have said. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkk2rfQACgkQtTMYHG2NR9VpDQCfTVcCb7XW3pfdKf8AQ44pjqII 1K0AniQm6UJdN6PEAxsByOKW2wOcqAjb =HZHt -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org