8
10

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.

Ubuntuの主要ログファイルメモ

Posted at

はじめに

すぐに忘れてしまうUbuntuの主要ログファイルリストのメモ

主要ログファイル

認証周り

場所 説明 形式
/var/log/wtmp ログインユーザーおよび利用時間、システムのリブート情報(last)。 バイナリ
/var/log/btmp パスワード認証の失敗など不正なログイン履歴(lastb)。 バイナリ
/var/log/lastlog ユーザー単位で最終ログイン情報(lastlog)。 バイナリ
/var/log/auth.log システムへのログイン履歴情報 テキスト

システム関連

場所 説明 形式
/var/log/syslog システムログ テキスト
/var/log/kern.log カーネルログ テキスト
/var/log/boot.log 起動ログ テキスト
/var/log/dmesg 起動時のカーネルログ テキスト
/var/log/apt/history.log aptのログ テキスト

メール関連

場所 説明 形式
/var/log/maillog メールログ テキスト

参照

  • /etc/rsyslog.conf
  • /etc/rsyslog.d/*.conf

さいごに

すぐに忘れる

8
10
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
8
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?