Bug 1910419 - [RFE][RGW] Allow rgw's ops log to be sent to a log file
Summary: [RFE][RGW] Allow rgw's ops log to be sent to a log file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW
Version: 4.1
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
: 5.2
Assignee: Matt Benjamin (redhat)
QA Contact: Tejas
Akash Raj
URL:
Whiteboard:
: 1905666 (view as bug list)
Depends On:
Blocks: 2102272
TreeView+ depends on / blocked
 
Reported: 2020-12-23 20:12 UTC by Steve Baldwin
Modified: 2022-08-11 11:38 UTC (History)
11 users (show)

Fixed In Version: ceph-16.2.8-2.el8cp
Doc Type: Enhancement
Doc Text:
.Ceph Object Gateway can now be configured to direct its Ops Log to an ordinary Unix file. With this release, Ceph Object Gateway can be configured to direct its Ops Log to an ordinary Unix file, as a file-based log is simpler to work with in some sites, when compared to a Unix domain socket. The content of the log file is identical to what would be sent to the Ops Log socket in the default configuration.
Clone Of:
Environment:
Last Closed: 2022-08-09 17:35:53 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 53091 0 None None None 2021-11-04 01:05:29 UTC
Github ceph ceph pull 43740 0 None Merged pacific: rgw: add abstraction for ops log destination and add file logger 2021-11-04 01:05:29 UTC
Github https://github.com/red-hat-storage ceph-qe-scripts pull 304 0 None None None 2022-08-11 11:37:52 UTC
Github https://github.com/red-hat-storage cephci pull 1721/ 0 None None None 2022-08-11 11:37:52 UTC
Red Hat Product Errata RHSA-2022:5997 0 None None None 2022-08-09 17:36:30 UTC

Description Steve Baldwin 2020-12-23 20:12:50 UTC
Description of problem:
This RFE is to have a log file (preferably a configurable filepath) that persist rgw's opslog to a file so it could be sent to a log aggregrator like graylog as other Ceph components can do.

Version-Release number of selected component (if applicable)
Red Hat Ceph Storage 4.1

Actual results:
No specific log file for opslogs that can be exported to an external log aggregator like graylog.

Expected results:
Have a configurable logfile that captures opslogs so it can be easily exported to a log aggregator (graylog). 

Additional info:

Comment 6 Matt Benjamin (redhat) 2021-11-04 01:16:45 UTC
*** Bug 1905666 has been marked as a duplicate of this bug. ***

Comment 18 errata-xmlrpc 2022-08-09 17:35:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Red Hat Ceph Storage Security, Bug Fix, and Enhancement Update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:5997


Note You need to log in before you can comment on or make changes to this bug.