Jira is logging multiple cache flushes in the application logs

アトラシアン ナレッジベース

このページの内容

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server と Data Center のみ - この記事は、サーバーおよびデータセンター プラットフォームのアトラシアン製品にのみ適用されます。

問題

The following INFO messages can be seen in the atlassian-jira.log regarding specific caches being flushed. Example:

2021-11-04 15:08:41,001-0300 http-nio-8080-exec-18 INFO      [c.a.c.e.c.a.j.i.f.l.column.DefaultColumnLayoutManager.filterColumnLayoutCache] Cache com.atlassian.jira.issue.fields.layout.column.DefaultColumnLayoutManager.filterColumnLayoutCache was flushed
2021-11-04 15:08:41,001-0300 http-nio-8080-exec-18 INFO      [c.a.c.e.c.a.j.i.f.screen.CachingFieldScreenStore.allScreensCache] Cache com.atlassian.jira.issue.fields.screen.CachingFieldScreenStore.allScreensCache was flushed
2021-11-04 15:08:41,001-0300 http-nio-8080-exec-18 INFO      [c.a.c.e.c.a.j.i.f.screen.CachingFieldScreenStore.fieldScreenCache] Cache com.atlassian.jira.issue.fields.screen.CachingFieldScreenStore.fieldScreenCache was flushed

環境

Jira 8.19.0 and later

原因

This is expected behavior and will not cause any problems or concerns.

Starting with Jira 8.19.0, Jira will be deployed with a new logging level enabled by default, as described in the following feature request:  JRASERVER-70298 - Getting issue details... STATUS

This is useful when troubleshooting issues with Jira and to determine what caused a specific cache to be flushed. During the Jira startup you will see lots of these messages as it's expected behavior that several Jira caches are populated and flushed for the first time.

How to disable this feature

To disable logging on cache flushes, please follow these steps:

  1. Open the log4j.properties file (located in the Jira application installation directory).
  2. Change the line below from INFO to OFF. Example:

    log4j.logger.com.atlassian.cache.event = OFF, filelog
  3. Save the file and restart the node for the changes to take effect.


説明
製品
最終更新日 2021 年 11 月 4 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.