lib/appstats/log_collector.rb in appstats-0.8.0 vs lib/appstats/log_collector.rb in appstats-0.8.1
- old
+ new
@@ -100,10 +100,10 @@
total_entries = 0
all.each do |log_collector|
current_entries = 0
begin
File.open(log_collector.local_filename,"r").readlines.each do |line|
- entry = Entry.load_from_logger_entry(line.strip)
+ entry = Entry.create_from_logger_string(line.strip)
entry.log_collector = log_collector
entry.save
current_entries += 1
total_entries += 1
end
\ No newline at end of file