Merge branch 'feature/docker' into 'gray'
logger time See merge request !82
Showing
1 changed file
with
8 additions
and
2 deletions
@@ -161,14 +161,20 @@ if (isProduction) { | @@ -161,14 +161,20 @@ if (isProduction) { | ||
161 | name: 'info', | 161 | name: 'info', |
162 | level: 'info', | 162 | level: 'info', |
163 | filename: '/Data/logs/yohoblk-wap/info.log', | 163 | filename: '/Data/logs/yohoblk-wap/info.log', |
164 | - maxFiles: 7 | 164 | + maxFiles: 7, |
165 | + timestamp() { | ||
166 | + return new Date().toString(); | ||
167 | + } | ||
165 | }, | 168 | }, |
166 | errorFile: { | 169 | errorFile: { |
167 | name: 'error', | 170 | name: 'error', |
168 | level: 'error', | 171 | level: 'error', |
169 | filename: '/Data/logs/yohoblk-wap/error.log', | 172 | filename: '/Data/logs/yohoblk-wap/error.log', |
170 | handleExceptions: true, | 173 | handleExceptions: true, |
171 | - maxFiles: 7 | 174 | + maxFiles: 7, |
175 | + timestamp() { | ||
176 | + return new Date().toString(); | ||
177 | + } | ||
172 | }, | 178 | }, |
173 | console: { | 179 | console: { |
174 | close: true, | 180 | close: true, |
-
Please register or login to post a comment