Originally the logs are write to /root/cerberus/cerberus.report which by default does not exist as part of the code base, nor is it editable when mounted. ~It would be ideal if the path for the logging report can be configurable to a different place where we can mount a volume to it to save the logs if needed.~
It cannot be configured based on config.yaml as that is parsed in at a later point after logging is setup. Thus updating the log file to /tmp folder to get rid of the file system permission issue.
Changes:
change the default log file path from /root/cerberus/cerberus.report to /tmp/cerberus-report.log
Background:
Originally the logs are write to
/root/cerberus/cerberus.report
which by default does not exist as part of the code base, nor is it editable when mounted. ~It would be ideal if the path for the logging report can be configurable to a different place where we can mount a volume to it to save the logs if needed.~It cannot be configured based on config.yaml as that is parsed in at a later point after
logging
is setup. Thus updating the log file to/tmp
folder to get rid of the file system permission issue.Changes:
/root/cerberus/cerberus.report
to/tmp/cerberus-report.log