Re: [go-nuts] Re: REST API - Request Logging on Server

2017-07-17 Thread desaiabhijit
Hi Jesper Thanks for the reply Do you need to log every request? yes.. supporting minimum 200 req/sec per machine Do you need to know the contents of the request? yes.. it's a search request having 6 parameters ( XML/JSON REST ) Need to log all the requests for BI purpose so can't limit loggi

Re: [go-nuts] Re: REST API - Request Logging on Server

2017-07-17 Thread Jesper Louis Andersen
Do you need to log every request? Do you need to know the contents of the request? Metrics are far cheaper to maintain than a log line. Also, consider sampling, or only logging slow requests (though put a limit on them over a period: when your system goes wrong you don't want all the slow logging r