LoginSignup
1
1

More than 5 years have passed since last update.

rsyslog設定-メッセージを2重出力させない

Posted at

filter掛けた場合、ログが2重出力されないよう編集

---抜粋---
"#### RULES ####
RULE1
$template ClientMessage,"/var/log/systemlog/%fromhost%/%fromhost%.log"
. -?ClientMessage
& ~

"# Log all kernel messages to the console.
"# Logging much else clutters up the screen.
"#kern.* /dev/console

"# Log anything (except mail) of level info or higher.
"# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none /var/log/messages
---抜粋---

1
1
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
1
1