1. -Xlog:gc*:time:file=/home/apache-tomcat-8.5.24/logs/gc.log
[0.000s][error][logging] Invalid decorator 'file=/home/apache-tomcat-8.5.24/logs/gc.log'. Invalid -Xlog option '-Xlog:gc*:time:file=/sw/apache-tomcat-8.5.24/logs/gc.log' Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
2. -Xlog:gc*:file=/home/apache-tomcat-8.5.24/logs/gc.log:time
정상 처리된다.
3. 결론
순서를 잘 지킨다.