Bug 2085442 - [Doc] - Block device Guide - add information about enabling logging of mirroring daemon to file
Summary: [Doc] - Block device Guide - add information about enabling logging of mirror...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Documentation
Version: 5.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: Backlog
Assignee: Anjana Suparna Sriram
QA Contact: Manisha Saini
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-13 11:38 UTC by Vasishta
Modified: 2023-07-31 21:50 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-4299 0 None None None 2022-05-13 12:00:32 UTC

Description Vasishta 2022-05-13 11:38:54 UTC
Describe the issue:
We need to add information about enabling log to file for rbd mirroring daemon.

Describe the task you were trying to accomplish:
redirect rbd-mirroring daemon logs to log file

Suggestions for improvement:
We can add a note mentioning that if user wants to redirect rbd-mirror daemon logs to log file which is the default case, user needs to execute following commands
# ceph config set global log_to_file true
# ceph config set global mgr/mirroring/log_to_file 1

Also to configure log rotate won't work on the log file that gets created. https://access.redhat.com/solutions/3523011 has more information on why it doesn't happen.

Document URL:
https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/5/html/block_device_guide/index

Chapter/Section Number and Title:
https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/5/html/block_device_guide/mirroring-ceph-block-devices

Product Version:
5.x

Environment Details:
NA

Any other versions of this document that also needs this update:
4.x (information on logrotate.d might needs to be changed, it gets configured by cephadm in 5.x)

Additional information:


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