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:
parent
94fca57fb9
commit
fab95058bf
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user