Project

General

Profile

Actions

Feature #313

closed

Support loglevel

Added by Wido den Hollander almost 14 years ago. Updated over 6 years ago.

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

support_log_level.patch (22.5 KB) support_log_level.patch Wido den Hollander, 07/28/2010 09:54 AM
0001-rgw-Support-a-loglevel-of-0.patch (750 Bytes) 0001-rgw-Support-a-loglevel-of-0.patch Support a loglevel of 0 Wido den Hollander, 07/29/2010 04:57 AM
Actions

Also available in: Atom PDF