[英]WebSphere Liberty Profile Verbose Class Logging - where is it's output?
[英]Using WAS liberty, need to set verbose GC
需要為WAS自由配置文件配置詳細GC。
如何設置日志文件的大小,詳細GC日志文件的翻轉計數。
首次在Google上搜索“ Websphere Liberty verbose gc”的過程完全符合您的要求。
http://www-01.ibm.com/support/docview.wss?uid=swg21596474
TL:DR
將jvm.options
文件放入服務器目錄(在server.xml旁邊),內容如下:
-verbose:gc
-Xverbosegclog: <path to file><filename>
-XX:+UseGCLogFileRotation
-XX:NumberOfGCLogFiles=<number of files>
-XX:GCLogFileSize=<size>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.