Debugging / tracking user request timings

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Debugging / tracking user request timings

Benito Gonzalez-2
Hi folks,

When I am helping a client deal with performance issues, I often look at the tomcat local access logs for DDOS and other anomalies.

The defaults are pretty good, but the log would be much better if you change it to include the time to process the request. This can be changed in etc/tomcat/conf/server.xml and used after the `tomcatInstall` Gradle task.

The default is:
               pattern="%h %l %u %t "%r" %s %b" />
We want to add `%T which is the code for execution time:
               pattern="%h %l %u %t "%r" %s %b [%T]" />

Hope this helps,

Benito J. Gonzalez
Software Developer
Unicon, Inc.
Voice:  209.777.2754
 Text:  209.777.2754
GitHub:  bjagg
GitLab:  bjagg
BitBucket:  bjagg

You received this message because you are subscribed to the Google Groups "uPortal Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit