0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

DHCPデーモンのログ

Posted at

DHCPデーモンのログは、標準のログシステムに出力され、旧来ではsyslogによって/var/log/messagesに出力されていました。systemdを採用したシステムでは、syslogに代わる仕組みとしてjournaldを用いたログ管理が行われており、ログの保管場所も変更となっています(/var/run/log/journal、ただし再起動で消える。再起動後も保存するには設定が必要。)。
ただし、現時点ではRedhatなどではrsyslogも使い、同じ内容を/var/log/messagesにも反映しているため、旧来と同じようにそちらで確認することもできます。
journaldのログを管理するコマンドはjournalctlです。journalctlは、オプションを指定せずに実行すると、システムログが表示

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?