]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Merge pull request #457 from ceph/rgw-log-dir
authorLeseb <seb@redhat.com>
Tue, 15 Dec 2015 22:23:09 +0000 (23:23 +0100)
committerLeseb <seb@redhat.com>
Tue, 15 Dec 2015 22:23:09 +0000 (23:23 +0100)
Use /var/log/ceph for rgw logs

1  2 
roles/ceph-common/templates/ceph.conf.j2

index b4a063436022d5131321f6e37e72441aa981016b,ae65d650d70f4eff9647fd9e048f1b8c9f5e9e1a..6f6fdbbb316a281df370c8b1d8dcd273db56cbcc
    host = {{ hostvars[host]['ansible_hostname'] }}
    keyring = /var/lib/ceph/radosgw/ceph-rgw.{{ hostvars[host]['ansible_hostname'] }}/keyring
    rgw socket path = /tmp/radosgw-{{ hostvars[host]['ansible_hostname'] }}.sock
-   log file = /var/log/radosgw/radosgw-{{ hostvars[host]['ansible_hostname'] }}.log
+   log file = /var/log/ceph/radosgw-{{ hostvars[host]['ansible_hostname'] }}.log
    rgw data = /var/lib/ceph/radosgw/ceph-rgw.{{ hostvars[host]['ansible_hostname'] }}
 -  rgw print continue = false
    {% if radosgw_frontend  == 'civetweb' %}
    rgw frontends = civetweb port={{ radosgw_civetweb_port }}
    {% endif %}