LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SUSE linux 10 syslog-ng syntax problem (https://www.linuxquestions.org/questions/linux-newbie-8/suse-linux-10-syslog-ng-syntax-problem-876202/)

rick20176 04-20-2011 04:36 PM

SUSE linux 10 syslog-ng syntax problem
 
I am a Novell (now defunct) CNE tring to learn Linux and am having a lot of trouble finding out where the WB 6-6 is wrong in the syntax for adding local4... the the syslog-ng config file. In the instructions there are discrepancies between commas and simi-comma, they are both in the statements in no particular order. there is no pattern to them.

Here is what the book shows:

filter f_local4debug { level(debug) and facility(local4); };

When I try to input this in the Gnome terminal window to try and find out where it goes wrong I get the following:

-bash: syntax error near unexpected token "("

If I can get the correct syntax I belive I can use the info to get past the rest of this portion of the lesson.

I am desperate to learn Linux as the only jobs out there for a Novell CNE are migrations to MS, which really sucks, since MS really really sucks.


Please help.

AlucardZero 04-20-2011 06:16 PM

You need to open up the syslog-ng config file in your favorite editor and type your filter into it. It is not a command to be run at a bash prompt.


All times are GMT -5. The time now is 10:14 PM.