Forum: CFEngine Help Subject: Direct cf-execd to log under /var/log instead of /var/cfengine/outputs? Author: [email protected] Link to topic: https://cfengine.com/forum/read.php?3,24008,24008#msg-24008
Hey folks I'm trying to get the output of cf-execd to log into /var/log/cfengine and make this world readable instead of /var/cfengine/outputs. /var/cfengine at our site is root:root 0700, so, logging under /var/cfengine isn't going to work if we want this world readable. Looking through the reference manual, I didn't see any config option on how to redirect cf-execd in body executor control promises: https://cfengine.com/manuals/cf3-reference.html#control-executor The reference guide states: So, it seems that WORKDIR/outputs is hard coded in cf-execd? I suppose I could try some hack in creating a symlink of /var/cfengine/outputs ---> /var/log/cfengine, but, that seems kind of unnecessary... I could keep the directories in sync using a "copy_from" promise, but, thats going to copy the data from the "previous execution" of what was in the outputs directory. I want the data in /var/log/cfengine to be real time. Suggestions? Or is this a feature request? Thanks Mike _______________________________________________ Help-cfengine mailing list [email protected] https://cfengine.org/mailman/listinfo/help-cfengine
