Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

20.5. Suppressing Repetitive Log Messages


Repetitive log messages in the Red Hat Gluster Storage Server can be configured by setting a log-flush-timeout period and by defining a log-buf-size buffer size options with the gluster volume set command.
Suppressing Repetitive Log Messages with a Timeout Period

To set the timeout period on the bricks:
# gluster volume set VOLNAME diagnostics.brick-log-flush-timeout <value>
Copy to Clipboard Toggle word wrap

Example 20.13. Set a timeout period on the bricks

# gluster volume set testvol diagnostics.brick-log-flush-timeout 200
volume set: success
Copy to Clipboard Toggle word wrap
To set the timeout period on the clients:
# gluster volume set VOLNAME diagnostics.client-log-flush-timeout <value>
Copy to Clipboard Toggle word wrap

Example 20.14. Set a timeout period on the clients

# gluster volume set testvol diagnostics.client-log-flush-timeout 180
volume set: success
Copy to Clipboard Toggle word wrap
To set the timeout period on glusterd:
# glusterd --log-flush-timeout=<value>
Copy to Clipboard Toggle word wrap

Example 20.15. Set a timeout period on the glusterd

# glusterd --log-flush-timeout=60
Copy to Clipboard Toggle word wrap
Suppressing Repetitive Log Messages by defining a Buffer Size

The maximum number of unique log messages that can be suppressed until the timeout or buffer overflow, whichever occurs first on the bricks.

To set the buffer size on the bricks:
# gluster volume set VOLNAME diagnostics.brick-log-buf-size <value>
Copy to Clipboard Toggle word wrap

Example 20.16. Set a buffer size on the bricks

# gluster volume set testvol diagnostics.brick-log-buf-size 10
volume set: success
Copy to Clipboard Toggle word wrap
To set the buffer size on the clients:
# gluster volume set VOLNAME diagnostics.client-log-buf-size <value>
Copy to Clipboard Toggle word wrap

Example 20.17. Set a buffer size on the clients

# gluster volume set testvol diagnostics.client-log-buf-size 15
volume set: success
Copy to Clipboard Toggle word wrap
To set the log buffer size on glusterd:
# glusterd --log-buf-size=<value>
Copy to Clipboard Toggle word wrap

Example 20.18. Set a log buffer size on the glusterd

# glusterd --log-buf-size=10
Copy to Clipboard Toggle word wrap

Note

To disable suppression of repetitive log messages, set the log-buf-size to zero.
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat