[hopem] Added use-syslog cfg option to allow logging to syslog

This commit is contained in:
Edward Hope-Morley
2014-03-25 18:44:22 +00:00
parent 07912e33eb
commit 39bb4dc453
4 changed files with 11 additions and 2 deletions

View File

@@ -73,7 +73,8 @@ def emit_cephconf():
'auth_supported': get_auth() or 'none',
'mon_hosts': ' '.join(get_mon_hosts()),
'hostname': get_unit_hostname(),
'version': ceph.get_ceph_version('radosgw')
'version': ceph.get_ceph_version('radosgw'),
'use_syslog': str(config('use-syslog')).lower()
}
# Check to ensure that correct version of ceph is