Toomas Tamm wrote:
> With Debian releasing the etch (4.0) release, my cfengine was upgraded
> to 2.1.20 . I have Inform = ( on ) in my cfagent.conf and cfengine is
> run regularly from cron.
>
> It used to be the case that if no changes were made to the system, a
> run on "cfagent" produced no output even with Inform = ( on ) . This
> is an useful sign that things are unchanged and the script need not
> produce a log.
>
> Since the upgrade, cfagent is always producing two lines of output:
> cfengine:hostname: Prepending [hostname]
> cfengine:hostname: Appending [hostname]
> (where hostname is the actual host name where the program is running)
> even when no changes are made to the system.
>
> I looked at the source of version 2.1.22 from cfengine.org and I guess
> the messages are produced by cfagent.c line 1084 and following, where
> the program is massaging the binserver list. There seems to be no
> apparent way to suppress this output as long as Inform = ( on ) is
> set.
>
> Obviously, this can be worked around by grep-ing the output, but I
> find this a non-elegant solution. The behaviour since I started to use
> cfengine around year 2000 has been that Inform = ( on ) produces no
> output if the system is unchanged. It would be nice if this tradition
> were continued.
>
> Since the binservers feature does not appear to be a frequently used
> one (IMHO), I suggest that these messages (perhaps the whole
> processing of binservers list) should be suppressed if the user does
> not intend to use the particular feature.
>
>   

Set inform = off in the edit stanza? I think this is not really a bug.
It is simply a question about
how these different messages are classified. If you don' like them you
are also free to
remove that message from the code. Or reclassify it

M
_______________________________________________
Bug-cfengine mailing list
[EMAIL PROTECTED]
https://cfengine.org/mailman/listinfo/bug-cfengine

Reply via email to