lib/ayadn/logs.rb in ayadn-1.4.2 vs lib/ayadn/logs.rb in ayadn-1.4.3

- old
+ new

@@ -7,14 +7,14 @@ end def self.create_logger @rec = Logger.new(Settings.config[:paths][:log] + "/ayadn.log", 'monthly') @rec.formatter = proc do |severity, datetime, progname, msg| - "#{datetime} (#{Settings.config[:version]}) #{severity} -- #{msg}\n" + "#{datetime} (#{Settings.config[:version]}) #{severity} * #{msg}\n" end @nr = Logger.new(Settings.config[:paths][:log] + "/nicerank.log", 'monthly') @nr.formatter = proc do |severity, datetime, progname, msg| - "#{datetime} (#{Settings.config[:version]}) #{severity} -- #{msg}\n" + "#{datetime} (#{Settings.config[:version]}) #{severity} * #{msg}\n" end end # unused (experiment) # def self.send_log(from, args, content)