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 support for setting log level #135

Open
sammcj opened this issue Sep 7, 2017 · 0 comments
Open

Add support for setting log level #135

sammcj opened this issue Sep 7, 2017 · 0 comments

Comments

@sammcj
Copy link
Contributor

sammcj commented Sep 7, 2017

To change the glusterd global log level:

glusterd --log-level WARNING

This can also be set in the config file, so perhaps the module could just accept options in the form of an array similar to the volume level options that would then populate the config file?

 In the /etc/sysconfig/glusterd file, locate the LOG_LEVEL parameter and set its value to WARNING.

## Set custom log file and log level (below are defaults)
#LOG_FILE='/var/log/glusterfs/glusterd.log'
LOG_LEVEL='WARNING'

As per: https://access.redhat.com/documentation/en-US/Red_Hat_Storage/3.1/html/Administration_Guide/Configuring_the_Log_Level.html

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