Actions
Feature #313
closedSupport loglevel
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
Like spoken about yesterday, it would be usefull if we could set a loglevel for the RADOS Gateway.
We would use the Ceph configuration for this, but since we are in a CGI envirioment, i would advise using a env variable configured in Apache.
Something like:
SetEnv RADOS_LOG_LEVEL 1|2|3
We would then classify every message under which loglevel it should be.
Just did a small performance test, removing ALL the output to Apache's error_log gave ma a 250% performance boost (from 140 req/sec to ~ 400 req/sec
For some debugging the error_log output is nice, but to much logging will kill your performance.
Files
Actions