Enable GC logging

This commit is contained in:
Azra Sulthana
2019-07-15 09:37:23 +00:00
parent 20b0b3db89
commit 25addf355d

View File

@@ -6,7 +6,13 @@ atl_catalina_opts: ""
atl_catalina_opts_extra: >-
-XX:+UseG1GC
-XX:+PrintAdaptiveSizePolicy
-Xloggc:{{ atl_product_installation_versioned }}/apache-tomcat/logs/`date +%F_%H-%M-%S`-gc.log
-XX:+PrintGCDetails
-XX:+PrintGCDateStamps
-XX:+PrintGCCause
-XX:+UseGCLogFileRotation
-XX:NumberOfGCLogFiles=10
-XX:GCLogFileSize=5M
-XX:+PrintTenuringDistribution
-Dfile.encoding=UTF-8