
我知道這systemd
是一種服務管理機制。
但我不知道為什麼有兩個設定檔:/etc/systemd/journald.conf
和/etc/systemd/system.conf
.
例如,在 中system.conf
,我看到有一行:LogLevel=info
,並且在 中journald.conf
,有一些行:
#MaxLevelStore=debug
#MaxLevelSyslog=debug
#MaxLevelKMsg=notice
#MaxLevelConsole=info
#MaxLevelWall=emerg
他們看起來很相似。
他們兩個有什麼差別呢?