Red Hat Linux Bible: Fedora and Enterprise Edition [Electronic resources]

Christopher Negus

نسخه متنی -صفحه : 274/ 199
نمايش فراداده

Checking News Log Files

Activities of your news server are logged to files in the /var/log/news directory. Messages are logged based on the following settings in the /etc/syslog.conf file:

# INN
#
news.=crit           /var/log/news/news.crit
news.=err            /var/log/news/news.err
news.notice          /var/log/news/news.notice

In this example, critical errors are stored in the news.crit file, non-critical errors are stored in the news.err file, and messages that just reflect normal activities are logged in the news.notice file. You should check these files regularly for error conditions.

Checking News Log Files

Activities of your news server are logged to files in the /var/log/news directory. Messages are logged based on the following settings in the /etc/syslog.conf file:

# INN
#
news.=crit           /var/log/news/news.crit
news.=err            /var/log/news/news.err
news.notice          /var/log/news/news.notice

In this example, critical errors are stored in the news.crit file, non-critical errors are stored in the news.err file, and messages that just reflect normal activities are logged in the news.notice file. You should check these files regularly for error conditions.