changing error log format

This commit is contained in:
Simon Martín 2017-12-12 11:04:06 +01:00
parent b3d7909849
commit 2db2546cca
4 changed files with 4 additions and 4 deletions

View File

@ -55,7 +55,7 @@ var config = {
,socket_timeout: 600000 ,socket_timeout: 600000
,enable_cors: true ,enable_cors: true
,cache_enabled: false ,cache_enabled: false
,log_format: ':req[X-Real-IP] :method :req[Host]:url :status :response-time ms -> :res[Content-Type] (:res[X-Tiler-Profiler]) !!!:res[X-Tiler-Errors]' ,log_format: ':req[X-Real-IP] :method :req[Host]:url :status :response-time ms -> :res[Content-Type] (:res[X-Tiler-Profiler]) (:res[X-Tiler-Errors])'
// If log_filename is given logs will be written // If log_filename is given logs will be written
// there, in append mode. Otherwise stdout is used (default). // there, in append mode. Otherwise stdout is used (default).
// Log file will be re-opened on receiving the HUP signal // Log file will be re-opened on receiving the HUP signal

View File

@ -55,7 +55,7 @@ var config = {
,socket_timeout: 600000 ,socket_timeout: 600000
,enable_cors: true ,enable_cors: true
,cache_enabled: true ,cache_enabled: true
,log_format: ':req[X-Real-IP] :method :req[Host]:url :status :response-time ms -> :res[Content-Type] (:res[X-Tiler-Profiler]) !!!:res[X-Tiler-Errors]' ,log_format: ':req[X-Real-IP] :method :req[Host]:url :status :response-time ms -> :res[Content-Type] (:res[X-Tiler-Profiler]) (:res[X-Tiler-Errors])'
// If log_filename is given logs will be written // If log_filename is given logs will be written
// there, in append mode. Otherwise stdout is used (default). // there, in append mode. Otherwise stdout is used (default).
// Log file will be re-opened on receiving the HUP signal // Log file will be re-opened on receiving the HUP signal

View File

@ -55,7 +55,7 @@ var config = {
,socket_timeout: 600000 ,socket_timeout: 600000
,enable_cors: true ,enable_cors: true
,cache_enabled: true ,cache_enabled: true
,log_format: ':req[X-Real-IP] :method :req[Host]:url :status :response-time ms (:res[X-Tiler-Profiler]) -> :res[Content-Type] !!!:res[X-Tiler-Errors]' ,log_format: ':req[X-Real-IP] :method :req[Host]:url :status :response-time ms (:res[X-Tiler-Profiler]) -> :res[Content-Type] (:res[X-Tiler-Errors])'
// If log_filename is given logs will be written // If log_filename is given logs will be written
// there, in append mode. Otherwise stdout is used (default). // there, in append mode. Otherwise stdout is used (default).
// Log file will be re-opened on receiving the HUP signal // Log file will be re-opened on receiving the HUP signal

View File

@ -54,7 +54,7 @@ var config = {
,socket_timeout: 600000 ,socket_timeout: 600000
,enable_cors: true ,enable_cors: true
,cache_enabled: false ,cache_enabled: false
,log_format: '[:date] :req[X-Real-IP] :method :req[Host]:url :status :response-time ms -> :res[Content-Type] (:res[X-Tiler-Profiler]) !!!:res[X-Tiler-Errors]' ,log_format: '[:date] :req[X-Real-IP] :method :req[Host]:url :status :response-time ms -> :res[Content-Type] (:res[X-Tiler-Profiler]) (:res[X-Tiler-Errors])'
// If log_filename is given logs will be written // If log_filename is given logs will be written
// there, in append mode. Otherwise stdout is used (default). // there, in append mode. Otherwise stdout is used (default).
// Log file will be re-opened on receiving the HUP signal // Log file will be re-opened on receiving the HUP signal