Problem:
Analise client or server problem for which you need HTTP logs.
But what if the problem is intermittent or even rare for any particular users?
Solution:
Enable access logs on Tomcat, Apache,…
Find problematic request by specific markers (HTTP response code, server think time, response size, particular URI…), then restore conversation by session id:
댓글