]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cookbooks.git/commitdiff
Merge pull request #95 from centraldesktop/make-radosgw-log-match-logrotate
authorGuilhem Lettron <guilhem+github@lettron.fr>
Thu, 20 Feb 2014 15:20:55 +0000 (16:20 +0100)
committerGuilhem Lettron <guilhem+github@lettron.fr>
Thu, 20 Feb 2014 15:20:55 +0000 (16:20 +0100)
Make radosgw log match logrotate

1  2 
templates/default/ceph.conf.erb

index e82d191792d78e767638433e278fff2526af63b2,2946fb0c1a82862c9919503f13d1eaea545e39c2..40539a539ba763715e0a8f133a08516b8bead82a
@@@ -34,9 -34,9 +34,9 @@@
    host = <%= node['hostname'] %>
    rgw socket path = /var/run/ceph/radosgw.<%= node['hostname'] %>
    keyring = /etc/ceph/ceph.client.radosgw.<%= node['hostname'] %>.keyring
-   log file = /var/log/ceph/radosgw.log
+   log file = /var/log/radosgw/radosgw.log
  <% if (! node['ceph']['config']['rgw'].nil?) -%>
 -  <% node['ceph']['config']['rgw'].each do |k, v| %>
 +  <% node['ceph']['config']['rgw'].sort.each do |k, v| %>
    <%= k %> = <%= v %>
    <% end %>
  <% end -%>