トップ 最新 追記

Rescue Unchor: トラブル レスキュー メモ


2021 Nov. 23 (Tue.) dnf on centos8: loglevel 設定 [長年日記]

_ [server] 背景

 下記

/var/log/dnf.log

 を確認したところ DEBUG level であり冗長

_ loglevel 仕様

 https://dnf.readthedocs.io/en/latest/conf_ref.html

 によると

logfilelevel

Log file messages output level, in the range 0 to 10. The higher the number the more debug output is put to logs. Default is 9.

This option controls dnf.log, dnf.librepo.log and hawkey.log. Although dnf.librepo.log and hawkey.log are affected only by setting the logfilelevel to 10.

 とのこと。

_ loglevel 定義

logfilelevel=8