Fork 0
Our blog as a set of static pages. http://zero-knowledge.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
772 B

title = "[cfengine] log to syslog"
date = "2014-02-24T21:51:39+00:00"
author = "Gibheer"
draft = false
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
to the exed section.
body executor control {
executorfacility => "LOG_LOCAL7";
After that a restart of execd will result in logs appearing through syslog.