changing error log format
This commit is contained in:
parent
b3d7909849
commit
2db2546cca
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user