[hopem,r=]
Add loglevel config option. Closes-Bug: 1520236
This commit is contained in:
commit
d10a8a9507
@ -1,4 +1,8 @@
|
||||
options:
|
||||
loglevel:
|
||||
default: 1
|
||||
type: int
|
||||
description: Mon and OSD debug level. Max is 20.
|
||||
fsid:
|
||||
type: string
|
||||
default:
|
||||
|
@ -99,6 +99,7 @@ def emit_cephconf():
|
||||
'use_syslog': str(config('use-syslog')).lower(),
|
||||
'ceph_public_network': config('ceph-public-network'),
|
||||
'ceph_cluster_network': config('ceph-cluster-network'),
|
||||
'loglevel': config('loglevel'),
|
||||
}
|
||||
|
||||
if config('prefer-ipv6'):
|
||||
|
@ -14,6 +14,8 @@ log to syslog = {{ use_syslog }}
|
||||
err to syslog = {{ use_syslog }}
|
||||
clog to syslog = {{ use_syslog }}
|
||||
mon cluster log to syslog = {{ use_syslog }}
|
||||
debug mon = {{ loglevel }}/5
|
||||
debug osd = {{ loglevel }}/5
|
||||
|
||||
{%- if ceph_public_network is string %}
|
||||
public network = {{ ceph_public_network }}
|
||||
|
Loading…
Reference in New Issue
Block a user