help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: parsing errors, syslog and alerts


From: Armin Wolfermann
Subject: Re: parsing errors, syslog and alerts
Date: Sat, 24 Apr 2004 13:44:35 +0200
User-agent: Mutt/1.5.6i

* nico (CCC) <nico@ccc.uba.ar> [24.04.2004 04:28]:
> Syslog alerts are always called (besides class)
> ===============================================
> if an alert is defined to call syslog then
> that syslog entry is generated always independently
> of the class. If the class is defined then the log
> entry is generated again (correctly this time)

Try this patch:

--- functions.c.orig    Sat Apr 24 13:30:16 2004
+++ functions.c Sat Apr 24 13:30:22 2004
@@ -544,6 +544,12 @@
 
 value[0] = '\0';
 
+if (PARSING)
+   {
+   strcpy(value,"doinstall");
+   return;
+   }
+
 if (strcmp(argv[0],"LOG_EMERG") == 0)
    {
    priority = LOG_EMERG;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]