From 977a5a2f97f3a4bfe17eb567083dcae112802f5a Mon Sep 17 00:00:00 2001 From: Chinasubbareddy Mallavarapu Date: Sun, 29 Mar 2020 11:22:27 -0500 Subject: [PATCH] [ceph-daemons] Redirect all the logs to stdout This is to redirect all the logs from daemons to stdout to avoid accumulating large sized log files on filesystem. NOTE: The ceph-osd daemon won't work this way and is addressed separately in https://review.opendev.org/715295. All other Ceph daemons are included here. Change-Id: I3045d6e941791aba14979472fac1bca09776d3bf --- ceph-client/values.yaml | 2 ++ ceph-mon/values.yaml | 2 ++ ceph-provisioners/values.yaml | 2 ++ ceph-rgw/values.yaml | 2 ++ 4 files changed, 8 insertions(+) diff --git a/ceph-client/values.yaml b/ceph-client/values.yaml index e5f788890..b895d6790 100644 --- a/ceph-client/values.yaml +++ b/ceph-client/values.yaml @@ -385,6 +385,8 @@ conf: objecter_inflight_op_bytes: "1073741824" objecter_inflight_ops: 10240 debug_ms: "0/0" + log_file: /dev/stdout + mon_cluster_log_file: /dev/stdout osd: osd_mkfs_type: xfs osd_mkfs_options_xfs: -f -i size=2048 diff --git a/ceph-mon/values.yaml b/ceph-mon/values.yaml index f9581a7d5..7489346f6 100644 --- a/ceph-mon/values.yaml +++ b/ceph-mon/values.yaml @@ -194,6 +194,8 @@ conf: debug_ms: "0/0" mon_osd_down_out_interval: 1800 mon_data_avail_warn: 15 + log_file: /dev/stdout + mon_cluster_log_file: /dev/stdout osd: osd_mkfs_type: xfs osd_mkfs_options_xfs: -f -i size=2048 diff --git a/ceph-provisioners/values.yaml b/ceph-provisioners/values.yaml index 97fd3bced..6e4b26d32 100644 --- a/ceph-provisioners/values.yaml +++ b/ceph-provisioners/values.yaml @@ -173,6 +173,8 @@ conf: objecter_inflight_op_bytes: "1073741824" objecter_inflight_ops: 10240 debug_ms: "0/0" + log_file: /dev/stdout + mon_cluster_log_file: /dev/stdout osd: osd_mkfs_type: xfs osd_mkfs_options_xfs: -f -i size=2048 diff --git a/ceph-rgw/values.yaml b/ceph-rgw/values.yaml index e923a16b5..0ba397a46 100644 --- a/ceph-rgw/values.yaml +++ b/ceph-rgw/values.yaml @@ -372,6 +372,8 @@ conf: cephx_service_require_signatures: false objecter_inflight_op_bytes: "1073741824" debug_ms: "0/0" + log_file: /dev/stdout + mon_cluster_log_file: /dev/stdout osd: osd_mkfs_type: xfs osd_mkfs_options_xfs: -f -i size=2048