Translated message

A translation of this page exists in English.

systemctl restart rsyslog を実行すると、重複している古いログエントリー (ジャーナル内のすべてのエントリー) がログファイルに追加される

Solution Verified - Updated -

Issue

  • systemctl restart rsyslog を実行すると、現在のブートのログがすべて /var/log/messages に追加されます。

  • systemd コマンドで (/var/log/journal 内の) 永続化ジャーナリングを有効にし、rsyslog.service を再起動するたびに複数日分の古いメッセージがログファイルに再度書き込まれます。

Environment

  • Red Hat Enterprise Linux 7
  • systemd-journald
  • imjournal を使用する rsyslog

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content