Este conteúdo não está disponível no idioma selecionado.

12.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 12.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 12.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 12.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 12.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 12.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 12.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.
Voltar ao topo
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2025 Red Hat