Browse Source

add date by default to logs outputted

kimchy 15 years ago
parent
commit
5b9dc45b7f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      config/logging.yml

+ 2 - 2
config/logging.yml

@@ -17,7 +17,7 @@ appender:
     type: console
     type: console
     layout:
     layout:
       type: consolePattern
       type: consolePattern
-      conversionPattern: "[%d{ABSOLUTE}][%-5p][%-25c] %m%n"
+      conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
 
 
   file:
   file:
     type: dailyRollingFile
     type: dailyRollingFile
@@ -25,5 +25,5 @@ appender:
     datePattern: "'.'yyyy-MM-dd"
     datePattern: "'.'yyyy-MM-dd"
     layout:
     layout:
       type: pattern
       type: pattern
-      conversionPattern: "[%d{ABSOLUTE}][%-5p][%-25c] %m%n"
+      conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"