How to list syntax and available tags for -Xlog

笑着哭i 提交于 2019-12-12 07:26:33

问题


OpenJDK 9's new Unified JVM Logging can filter logs by tags, but the JEP does not provide a list of all available tags. How can I list all available arguments?


回答1:


java -Xlog:help prints the argument syntax, including the list of tags available in that particular version, which may change over time.

Note that logging with -Xlog:<tag> may not print everything related to that tag since it requires the log message to only have that tag. Use -Xlog:<tag>* instead to include messages containing multiple tags.



来源:https://stackoverflow.com/questions/41678557/how-to-list-syntax-and-available-tags-for-xlog

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!