amonagent icon indicating copy to clipboard operation
amonagent copied to clipboard

Add ability to configure amonagent logging to custom file.

Open eliezerlp opened this issue 7 years ago • 0 comments

Currently amonagent seems to log to stderr using the default configuration of https://github.com/sirupsen/logrus/. When run as a systemd service this results in the logs going to syslog.

Our desire is to be able to log to a separate file instead of to syslog in order to be able to set a custom logrotate config for it.

It makes sense that the would be a on optional configuration in amon.conf that allows you to define where the log file would be stored.

eliezerlp avatar Jun 20 '18 12:06 eliezerlp