荒:大崎さん、これも見ながら
確認した方がいいよ。
大:Linux World総集編ですね。

LinuxWorld メモリアルDVDブック [2001-2007]
出版社:アイ・ディ・ジー・ジャパン
価格:¥2,194
荒:かなり、RHCE学習に使えると思うなぁー。
大:そうですね。
カバーしている範囲が広いですね。
基本事項1:/etc/
syslog.confで設定する。
■syslog.confの例
# 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
# The authpriv file has restricted access.
authpriv.* /var/log/secure
# Log all the mail messages in one place.
mail.* -/var/log/maillog
# Log cron stuff
cron.* /var/log/cron
# Everybody gets emergency messages
*.emerg *
# Save news errors of level crit and higher in a special file.
uucp,news.crit /var/log/spooler
# Save boot messages also to boot.log
local7.* /var/log/boot.log
local4.debug /var/log/slapd.log
大:左から、
ファシリティ.プライオリティ タブキーで区切り 出力先 ですね。
posted by アンドレアス at 18:56|
RHCE学習編
|

|