剛剛把 journalctl -f 掛著觀察系統有沒有什麼地方需要維護的,發現 rtkit-daemon 一直吐 Supervising m threads of n processes of o users. 的 logs 洗版面,有點惱人,找了一下解法:
sudo systemctl edit rtkit-daemon.service- 覆寫
[Service]段,新增一條設定LogLevelMax=2。記得要寫在### Edits below this comment will be discarded這行的上方,不然是不會存入變更的,我犯了這個蠢。 sudo systemctl daemon-reloadsudo systemctl restart rtkit-daemon.service
這樣 log level 小於 2 (critical) 的就不會輸出。
發佈留言