How to enable debug logs in Rados gateway in Red Hat Ceph Storage?

Solution Verified - Updated -

Environment

  • Red Hat Ceph Storage
  • Rados Gateway

Issue

  • How to enable debug logs in Rados gateway in Red Hat Ceph Storage?

Resolution

  • Add the following in /etc/ceph/ceph.conf of Rados gateway node
debug ms = 1
debug rgw = 20

And restart the radosgw service

# sudo systemctl restart ceph-radosgw.service
  • The logs will be inside /var/log/radosgw/ on the Rados Gateway node.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.