Apache can log specific cookies like the session id. Below is an example of such configuration for the typical JEE application:
LogFormat "%h %l %u %t \"%r\" %>s %b %{JSESSIONID}C" custom CustomLog /var/log/apache2/sample.com.log custom
LogFormat "%h %l %u %t \"%r\" %>s %b %{JSESSIONID}C" custom CustomLog /var/log/apache2/sample.com.log custom
Nestor Urquiza is a hands-on technologist, security-first thinker and results-oriented business executive. An Electronics Engineer dealing with hardware, embedded/web software development, security, compliance and full business funnel process engineering. Keeping things simple and innovating top-down, from Marketing to Accounting.
No comments:
Post a Comment