Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to configure amonagent logging to custom file. #31

Open
eliezerlp opened this issue Jun 20, 2018 · 0 comments
Open

Add ability to configure amonagent logging to custom file. #31

eliezerlp opened this issue Jun 20, 2018 · 0 comments

Comments

@eliezerlp
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant