diff --git a/Rakefile b/Rakefile index cfaab32a..73638f38 100644 --- a/Rakefile +++ b/Rakefile @@ -15,7 +15,7 @@ task :default => :test desc "parse logs" task :parse_logs => [:environment] do - Dir["/home/web/proxy/logs/*.log"].each do |log_path| + Dir[File.join($config['logs_path'], '*.log')].each do |log_path| hits = {} visits = {} visit_ips = {}