Forum: CFEngine Help
Subject: Re: Logging changes.
Author: bahamat
Link to topic: https://cfengine.com/forum/read.php?3,25861,25865#msg-25865

You can run cf-agent with the -I flag (capital i), which turns on inform for 
every promise. You could make this the default by editing the exec_command in 
promises.cf.

Be aware some promises will be considered repaired every time cf-agent runs, 
thus generating output even if no system elements have been changed.

I don't necessarily recommend doing that though. Instead I just set inform => 
"true" on promises that I want to be notified about when they are repaired. 
However I do suggest you run cf-agent -I enough that you're familiar enough 
with the output that you expect, and that you know which promises you don't 
need to be notified about.

TL;DR:
Not all promises are worth being told about.
Find the ones you care about and turn on inform.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to