add ability to disable log inclusion by setting value to zero