Have Ceph log to a file for scenario 001/004
Ceph logs to journald by default. However for scenario 001/004 use CephConfigOverrides to log to a file and disable journald logging so that we do not long twice. Change-Id: Id18f92b9f6d45ef365a4d23cc4d1e4f0bc84b6a1
This commit is contained in:
parent
b61ad2c2cf
commit
5136dd9d85
@ -191,6 +191,15 @@ parameter_defaults:
|
||||
ContainerCli: podman
|
||||
CephAdmVerbose: true
|
||||
CephConfigOverrides:
|
||||
# put logs in /var/log/ceph/<cluster-fsid>
|
||||
log_to_file: true
|
||||
mon_cluster_log_to_file: true
|
||||
# disable logging to journald so we don't log twice
|
||||
log_to_stderr: false
|
||||
mon_cluster_log_to_stderr: false
|
||||
log_to_journald: false
|
||||
mon_cluster_log_to_journald: false
|
||||
# test values
|
||||
anotherkey: anothervalue
|
||||
global:
|
||||
globalkey: globalvalue
|
||||
|
@ -69,6 +69,15 @@ parameter_defaults:
|
||||
- tty5
|
||||
- tty6
|
||||
CephConfigOverrides:
|
||||
# put logs in /var/log/ceph/<cluster-fsid>
|
||||
log_to_file: true
|
||||
mon_cluster_log_to_file: true
|
||||
# disable logging to journald so we don't log twice
|
||||
log_to_stderr: false
|
||||
mon_cluster_log_to_stderr: false
|
||||
log_to_journald: false
|
||||
mon_cluster_log_to_journald: false
|
||||
# test values
|
||||
globalkey: globalvalue
|
||||
anotherkey: anothervalue
|
||||
mon:
|
||||
|
Loading…
Reference in New Issue
Block a user