Skip to content

Commit 862b2ee

Browse files
authored
Merge pull request ceph#54867 from BBoozmen/oozmen_lc_subsystem
rgw/common: add rgw lifecycle specific debug log subsystem Reviewed-by: Matt Benjamin <[email protected]> Reviewed-by: Jiffin Tony Thottan <[email protected]>
2 parents 0359613 + c3ad41b commit 862b2ee

File tree

8 files changed

+10
-2
lines changed

8 files changed

+10
-2
lines changed

doc/rados/troubleshooting/log-and-debug.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,8 @@ to their default level or to a level suitable for normal operations.
300300
+--------------------------+-----------+--------------+
301301
| ``rgw dbstore`` | 1 | 5 |
302302
+--------------------------+-----------+--------------+
303+
| ``rgw lifecycle`` | 1 | 5 |
304+
+--------------------------+-----------+--------------+
303305
| ``javaclient`` | 1 | 5 |
304306
+--------------------------+-----------+--------------+
305307
| ``asok`` | 1 | 5 |

qa/suites/crimson-rados/perf/settings/optimized.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ overrides:
5454
debug perfcounter: "0/0"
5555
debug rgw: "0/0"
5656
debug rgw sync: "0/0"
57+
debug rgw lifecycle: "0/0"
5758
debug civetweb: "0/0"
5859
debug javaclient: "0/0"
5960
debug asok: "0/0"

qa/suites/perf-basic/settings/optimized.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ overrides:
5858
debug perfcounter: "0/0"
5959
debug rgw: "0/0"
6060
debug rgw sync: "0/0"
61+
debug rgw lifecycle: "0/0"
6162
debug civetweb: "0/0"
6263
debug javaclient: "0/0"
6364
debug asok: "0/0"

qa/suites/rados/perf/settings/optimized.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ overrides:
5454
debug perfcounter: "0/0"
5555
debug rgw: "0/0"
5656
debug rgw sync: "0/0"
57+
debug rgw lifecycle: "0/0"
5758
debug civetweb: "0/0"
5859
debug javaclient: "0/0"
5960
debug asok: "0/0"

qa/suites/rgw/multisite/overrides.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ overrides:
66
setgroup: ceph
77
debug rgw: 20
88
debug rgw sync: 20
9+
debug rgw lifecycle: 20
910
rgw crypt s3 kms backend: testing
1011
rgw crypt s3 kms encryption keys: testkey-1=YmluCmJvb3N0CmJvb3N0LWJ1aWxkCmNlcGguY29uZgo=
1112
rgw crypt require ssl: false

src/common/subsys.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ SUBSYS(rgw_datacache, 1, 5)
6464
SUBSYS(rgw_access, 1, 5)
6565
SUBSYS(rgw_dbstore, 1, 5)
6666
SUBSYS(rgw_flight, 1, 5)
67+
SUBSYS(rgw_lifecycle, 1, 5)
6768
SUBSYS(javaclient, 1, 5)
6869
SUBSYS(asok, 1, 5)
6970
SUBSYS(throttle, 1, 1)

src/rgw/rgw_lc.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
#include "services/svc_tier_rados.h"
4040

4141
#define dout_context g_ceph_context
42-
#define dout_subsys ceph_subsys_rgw
42+
#define dout_subsys ceph_subsys_rgw_lifecycle
43+
4344

4445
constexpr int32_t hours_in_a_day = 24;
4546
constexpr int32_t secs_in_a_day = hours_in_a_day * 60 * 60;

src/rgw/rgw_lc_s3.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include "rgw_lc_s3.h"
1313

1414

15-
#define dout_subsys ceph_subsys_rgw
15+
#define dout_subsys ceph_subsys_rgw_lifecycle
1616

1717
using namespace std;
1818

0 commit comments

Comments
 (0)