1
0
mirror of https://github.com/cmur2/dyndnsd.git synced 2024-12-21 14:54:22 +01:00

Fix log format

This commit is contained in:
cn 2013-04-27 23:27:55 +02:00
parent 94fca57fb9
commit fab95058bf

View File

@ -24,7 +24,7 @@ module Dyndnsd
class LogFormatter class LogFormatter
def call(lvl, time, progname, msg) def call(lvl, time, progname, msg)
"%s: %s\n" % [lvl, msg.to_s] "[%s] %-5s %s\n" % [Time.now.strftime('%Y-%m-%d %H:%M:%S'), lvl, msg.to_s]
end end
end end