diff options
author | Adam Jacob <adam@opscode.com> | 2011-04-01 17:09:23 -0700 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2012-06-07 13:29:34 -0700 |
commit | 09af2fd58ef8bdaf7d23dc0391c9f6577d915f69 (patch) | |
tree | 497f23d10df62005509fb74a8c4a2a5c02bc6717 /lib | |
parent | 4ed7c3b06dea71d371cda529552fe1316458e88b (diff) | |
download | mixlib-log-09af2fd58ef8bdaf7d23dc0391c9f6577d915f69.tar.gz |
Changing to iso8661 - fixes CHEF-2161
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mixlib/log/formatter.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mixlib/log/formatter.rb b/lib/mixlib/log/formatter.rb index 54ea3fe..0632535 100644 --- a/lib/mixlib/log/formatter.rb +++ b/lib/mixlib/log/formatter.rb @@ -31,7 +31,7 @@ module Mixlib # Otherwise, doesn't print the time. def call(severity, time, progname, msg) if @@show_time - sprintf("[%s] %s: %s\n", time.rfc2822(), severity, msg2str(msg)) + sprintf("[%s] %s: %s\n", time.iso8601(), severity, msg2str(msg)) else sprintf("%s: %s\n", severity, msg2str(msg)) end @@ -53,4 +53,4 @@ module Mixlib end end end -end
\ No newline at end of file +end |