Modifying Jira Garbage Collection logs to exclude the date.
プラットフォームについて: サーバーと Data Center のみ。この記事は、サーバーおよび Data Center プラットフォームのアトラシアン製品にのみ適用されます。
要約
By default, the Atlassian-garbage collection logs include the date in their description when the JVM is initialized(For example, when Jira is restarted).
例:
atlassian-jira-gc-2021-03-12_15-45-25.log.0.current
If you would like to remove the date, you will need to modify the file responsible for the Garbage collection log parameters.
ソリューション
- Shutdown Jira
- For Jira Data Center, shut down all nodes
- Navigate to /<Jira-installation-dir>/bin/set-gc-params.sh
- For Windows the file is set-gc-params.bat
- Modify the section:
- From:
-Xloggc:$LOGBASEABS/logs/atlassian-jira-gc-%t.log
- To :
-Xloggc:$LOGBASEABS/logs/atlassian-jira-gc.log
- Remove the -t%
- From:
- Jira の起動
- The file format will now be
atlassian-jira-gc.log.0.current
Last modified on Mar 15, 2021
Powered by Confluence and Scroll Viewport.