解決 rtkit-daemon 一直吐 “Supervising m threads of n processes of o users.” 的 logs

剛剛把 journalctl -f 掛著觀察系統有沒有什麼地方需要維護的,發現 rtkit-daemon 一直吐 Supervising m threads of n processes of o users. 的 logs 洗版面,有點惱人,找了一下解法:

  1. sudo systemctl edit rtkit-daemon.service
  2. 覆寫 [Service] 段,新增一條設定 LogLevelMax=2。記得要寫在 ### Edits below this comment will be discarded 這行的上方,不然是不會存入變更的,我犯了這個蠢。
  3. sudo systemctl daemon-reload
  4. sudo systemctl restart rtkit-daemon.service

這樣 log level 小於 2 (critical) 的就不會輸出。

留言

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *