[cfengine] log to syslog
When you want to start with cfengine, it is not exactly obvious how some stuff works. To make it easier for others, I will write about some stuff I find out in the process.
For the start, here is the first thing I found out. By default cfengine logs to files in the work directory. This can get a bit ugly, when the agent is running every 5min. As I use cf-execd, I added the option executorfacility to the exed section.
body executor control {
executorfacility => "LOG_LOCAL7";
}
After that a restart of execd will result in logs appearing through syslog.