[Gluster-users] cli.log logging level

Gabriele Paggi gabriele.paggi at gmail.com
Mon Apr 20 08:35:23 UTC 2015


Hi,

I have a working distributed-replicated setup with two bricks.
On both nodes the cli.log file fills up with:

[2015-04-20 08:26:06.023184] D [registry.c:408:cli_cmd_register] 0-cli:
Returning 0
[2015-04-20 08:26:06.023209] D [registry.c:408:cli_cmd_register] 0-cli:
Returning 0
[2015-04-20 08:26:06.023219] D [registry.c:408:cli_cmd_register] 0-cli:
Returning 0
[2015-04-20 08:26:06.023229] D [registry.c:408:cli_cmd_register] 0-cli:
Returning 0
[2015-04-20 08:26:06.023238] D [registry.c:408:cli_cmd_register] 0-cli:
Returning 0
[2015-04-20 08:26:06.023249] D [registry.c:408:cli_cmd_register] 0-cli:
Returning 0
[2015-04-20 08:26:06.023260] D [registry.c:408:cli_cmd_register] 0-cli:
Returning 0
[2015-04-20 08:26:06.023271] D [registry.c:408:cli_cmd_register] 0-cli:
Returning 0
[2015-04-20 08:26:06.023283] D [registry.c:408:cli_cmd_register] 0-cli:
Returning 0
[2015-04-20 08:26:06.023293] D [registry.c:408:cli_cmd_register] 0-cli:
Returning 0
[2015-04-20 08:26:06.023302] D [registry.c:408:cli_cmd_register] 0-cli:
Returning 0
[2015-04-20 08:26:06.023312] D [registry.c:408:cli_cmd_register] 0-cli:
Returning 0
[2015-04-20 08:26:06.023321] D [registry.c:408:cli_cmd_register] 0-cli:
Returning 0
[2015-04-20 08:26:06.023331] D [registry.c:408:cli_cmd_register] 0-cli:
Returning 0
[2015-04-20 08:26:06.023340] D [registry.c:408:cli_cmd_register] 0-cli:
Returning 0

And its size averages 600-800MB a day.
I assume the D in the log line stands for DEBUG. Is it there a way to lower
logging level so that only WARN and higher get logged?

I already have these two options set for my volume:

Options Reconfigured:
diagnostics.brick-log-level: WARNING
diagnostics.client-log-level: WARNING

Thanks!

-- 
Gabriele
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150420/f7f3bce2/attachment.html>


More information about the Gluster-users mailing list