about summary refs log tree commit homepage
path: root/lib/clogger.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-04-19 00:28:08 +0000
committerEric Wong <normalperson@yhbt.net>2011-04-19 00:28:08 +0000
commit0a2cb5093f7fbba370fd9b6caaf308139220b47b (patch)
treea84487a2a32f7fcba232035414392e0ef1226f15 /lib/clogger.rb
parent8303d477a13a63e6b28666e04b0c62886feae48e (diff)
downloadclogger-0a2cb5093f7fbba370fd9b6caaf308139220b47b.tar.gz
This doesn't apply to people that use strftime()-formats,
but that's a minority.
Diffstat (limited to 'lib/clogger.rb')
-rw-r--r--lib/clogger.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/clogger.rb b/lib/clogger.rb
index e368115..be1bdce 100644
--- a/lib/clogger.rb
+++ b/lib/clogger.rb
@@ -19,8 +19,6 @@ class Clogger
   # support nginx variables that are less customizable than our own
   ALIASES = {
     '$request_time' => '$request_time{3}',
-    '$time_local' => '$time_local{%d/%b/%Y:%H:%M:%S %z}',
-    '$time_utc' => '$time_utc{%d/%b/%Y:%H:%M:%S %z}',
     '$msec' => '$time{3}',
     '$usec' => '$time{6}',
     '$http_content_length' => '$content_length',
@@ -37,6 +35,8 @@ class Clogger
     :pid => 6, # getpid()
     :request_uri => 7,
     :time_iso8601 => 8,
+    :time_local => 9,
+    :time_utc => 10,
   }
 
 private