Add example of including profile in response log line

This commit is contained in:
Sandro Santilli 2013-07-18 09:53:59 +02:00
parent ec97381820
commit 7cb69d1db9
4 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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