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
How to control console log level/format? #712
Comments
With Glances 2.5 or higher, you can use the --quiet option to disable the curse interface. |
OK, I got the quiet option. But how to do this combo:
|
Hm, I see that default log level for console is CRITICAL and no way to change it. Is it possible to provide custom |
Just to give the context. I'm evaluating glances if it could be used on Windows as collectd-like daemon to send metrics to statsd server. So, I can disable curses UI - check. Now the question how to control console logs format/level/etc. |
And to save some time, is there any support for adding plugins via cfg somehow? I understand that I can add them to |
Why don't you use directly the statsD plugin to populate your StatsD database ? |
|
Perhaps you can describe what kind of new metrics do you need ? |
@themalkolm any head up ? I plan to make the Glances logging system configurable through the configuration file. Is it responding to yours needs ? |
@nicolargo yes, this will solve logging issue. I would say an essential part of any headless daemon. |
Implementation done through the issue #900 . Read the doc https://github.com/nicolargo/glances/blob/develop/docs/config.rst#logging to configure your own logger. |
Thanks! |
Hey, is it possible to disable curses UI completely and simply output logs on stdout?
The text was updated successfully, but these errors were encountered: