Add example of including profile in response log line
This commit is contained in:
parent
ec97381820
commit
7cb69d1db9
@ -9,7 +9,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]'
|
,log_format: '[:date] :req[X-Real-IP] :method :req[Host]:url :status :response-time ms -> :res[Content-Type] (:res[X-Tiler-Profiler])'
|
||||||
,postgres_auth_user: 'development_cartodb_user_<%= user_id %>'
|
,postgres_auth_user: 'development_cartodb_user_<%= user_id %>'
|
||||||
,postgres: {
|
,postgres: {
|
||||||
// Parameters to pass to datasource plugin of mapnik
|
// Parameters to pass to datasource plugin of mapnik
|
||||||
|
@ -9,7 +9,7 @@ var config = {
|
|||||||
,socket_timeout: 600000
|
,socket_timeout: 600000
|
||||||
,enable_cors: true
|
,enable_cors: true
|
||||||
,cache_enabled: true
|
,cache_enabled: true
|
||||||
,log_format: '[:date] :req[X-Real-IP] :method :req[Host]:url :status :response-time ms -> :res[Content-Type]'
|
,log_format: '[:date] :req[X-Real-IP] :method :req[Host]:url :status :response-time ms -> :res[Content-Type] (:res[X-Tiler-Profiler])'
|
||||||
,postgres_auth_user: 'cartodb_user_<%= user_id %>'
|
,postgres_auth_user: 'cartodb_user_<%= user_id %>'
|
||||||
,postgres: {
|
,postgres: {
|
||||||
// Parameters to pass to datasource plugin of mapnik
|
// Parameters to pass to datasource plugin of mapnik
|
||||||
|
@ -9,7 +9,7 @@ var config = {
|
|||||||
,socket_timeout: 600000
|
,socket_timeout: 600000
|
||||||
,enable_cors: true
|
,enable_cors: true
|
||||||
,cache_enabled: true
|
,cache_enabled: true
|
||||||
,log_format: '[:date] :req[X-Real-IP] :method :req[Host]:url :status :response-time ms -> :res[Content-Type]'
|
,log_format: '[:date] :req[X-Real-IP] :method :req[Host]:url :status :response-time ms (:res[X-Tiler-Profiler]) -> :res[Content-Type]'
|
||||||
,postgres_auth_user: 'cartodb_staging_user_<%= user_id %>'
|
,postgres_auth_user: 'cartodb_staging_user_<%= user_id %>'
|
||||||
,postgres: {
|
,postgres: {
|
||||||
// Parameters to pass to datasource plugin of mapnik
|
// Parameters to pass to datasource plugin of mapnik
|
||||||
|
@ -9,7 +9,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]'
|
,log_format: '[:date] :req[X-Real-IP] :method :req[Host]:url :status :response-time ms -> :res[Content-Type] (:res[X-Tiler-Profiler])'
|
||||||
,postgres_auth_user: 'test_cartodb_user_<%= user_id %>'
|
,postgres_auth_user: 'test_cartodb_user_<%= user_id %>'
|
||||||
,postgres: {
|
,postgres: {
|
||||||
// Parameters to pass to datasource plugin of mapnik
|
// Parameters to pass to datasource plugin of mapnik
|
||||||
|
Loading…
Reference in New Issue
Block a user