]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cookbooks.git/commitdiff
Moves radosgw logs to /var/log/ceph 116/head
authorWalter Huf <walter.huf@corvisa.com>
Wed, 9 Apr 2014 13:32:21 +0000 (08:32 -0500)
committerWalter Huf <walter.huf@corvisa.com>
Wed, 9 Apr 2014 18:44:55 +0000 (13:44 -0500)
It looks like the package logrotate scripts expect them to be there

recipes/radosgw_apache2.rb
templates/default/ceph.conf.erb

index b2694d9be361145b1bebe675ab5bd50992b85b52..5402a1d264e5741042fbdb456210d0f31a471e09 100644 (file)
@@ -60,13 +60,6 @@ end
   end
 end
 
-file '/var/log/radosgw/radosgw.log' do
-  owner d_owner
-  group d_group
-  mode '0644'
-  action :create
-end
-
 include_recipe 'apache2'
 
 apache_module 'fastcgi' do
index 40539a539ba763715e0a8f133a08516b8bead82a..e82d191792d78e767638433e278fff2526af63b2 100644 (file)
@@ -34,7 +34,7 @@
   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/radosgw/radosgw.log
+  log file = /var/log/ceph/radosgw.log
 <% if (! node['ceph']['config']['rgw'].nil?) -%>
   <% node['ceph']['config']['rgw'].sort.each do |k, v| %>
   <%= k %> = <%= v %>