15.4. Configuring the Log Level
critical, error, warning, and info messages are logged.
- CRITICAL
- ERROR
- WARNING
- INFO
- DEBUG
- TRACE
Important
#gluster volume set VOLNAME diagnostics.brick-log-level <value>
Example 15.7. Set the log level to warning on a brick
#gluster volume set testvol diagnostics.brick-log-level WARNING
#gluster volume set VOLNAME diagnostics.brick-sys-log-level <value>
Example 15.8. Set the syslog level to warning on a brick
#gluster volume set testvol diagnostics.brick-sys-log-level WARNING
#gluster volume set VOLNAME diagnostics.client-log-level <value>
Example 15.9. Set the log level to error on a client
#gluster volume set testvol diagnostics.client-log-level ERROR
#gluster volume set VOLNAME diagnostics.client-sys-log-level <value>
Example 15.10. Set the syslog level to error on a client
#gluster volume set testvol diagnostics.client-sys-log-level ERROR
glusterd
#glusterd --log-level <value>
Example 15.11. Set the log level to warning on glusterd
#glusterd --log-level WARNING
gluster --log-level=ERROR VOLNAME peer probe HOSTNAME
Example 15.12. Set the CLI log level to ERROR for the volume statuscommand
# gluster --log-level=ERROR volume status
#gluster --log-level ERROR volume status

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.