cfengine/core — pull request #1004 by basvandervlies (2013-10-09 18:36:24+00:00)
Title: Added an option for configure '--with-logdir=>directory>'.

When not specified it is the same as 'WORKDIR'.

This came up when building the debian package. We need to change the location of the logfiles. For testing we can override it with
an environment variable 'CFENGINE_TEST_OVERRIDE_LOGDIR' and also defined 'sys.logdir', eg:

body common control
{
bundlesequence => { test };
}

bundle agent test
{
reports:
any::
"$(sys.workdir)";
"$(sys.logdir)";
}