⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 newslog.5

📁 早期freebsd实现
💻 5
字号:
.TH NEWSLOG 5.SH NAMEnewslog \- description of Usenet log files.SH DESCRIPTIONMost log files created by Usenet programs reside in the.\" =()<.I @<_PATH_MOST_LOGS>@>()=.I /var/spool/news/datadirectory and have a ``.log'' extension.Several versions are usually kept with an additional extension such as ``.1'',``.2'', etc. \(em the higher the number, the older the log.The older versions are compressed..PPThe.I scanlogsscript and related utilities (see.IR newslog (8))are responsible for rotating and compressing these files..PPSome log files always have data, others only have data if there is aproblem, and others are only created if a particular program is usedor configuration parameter is set.The.I innstatscript (see.IR newslog (8))monitors the size of all log files..PPThe following files will only accumulate data under the direction of.IR control.ctl (5):.RScontrol.logmiscctl.lognewgroup.logrmgroup.logunwanted.log.REIn order to create these files, the ``message'' and ``action'' fields of.I control.ctlshould be chosen from the following table:.RS.nf.ta \w'newgroup    'u +\w'doit=newgroup  'uMessage	Action	Meaningall	log=miscctl	Log all messages by defaultdefault	log=miscctl	Log unknown messagesnewgroup	doit=newgroup	Create group and log messagenewgroup	log=newgroup	Log messagermgroup	doit=rmgroup	Remove group and log messagermgroup	log=rmgroup	Log message``other''	doit=miscctl	log and process the message``other''	log=miscctl	Log message.fi.REHere, ``other'' refers to any other control message such as:.RScheckgroupsihavesendmesendsyssenduunameversion.RE.PPThe following is a list of log files..TP.I control.logThis file maintains a count of the number of newgroup and rmgroup controlmessages seen for each newsgroup.The count is of the number of control messages with identicalarguments, regardless if they were actually processed.All control arguments, including invalid ones, are counted.This file is updated by.IR tally.control ,which is invoked by.I scanlogsif either the newgroup or rmgroup logs exist.This file is not rotated..TP.I errlogThis file contains the standard output and standard error of any programspawned by.IR innd (8).The most common programs are the control-message handlers found in.\" =()<.IR @<_PATH_CONTROLPROGS>@ .>()=.IR /var/spool/news/data/ctlbin .This file should be empty..I Scanlogswill print the entire contents of this log file if it is non-empty..TP.I expire.logBy default, when.I news.dailyis going to expire old news articles, it writes the date to this file,followed by any output from.IR expire (8)and the ending date.All lines but the first are indented four spaces..TP.I miscctl.logWhen.I control.ctlis configured as described above, all control messages except newgroupand rmgroup are appended to this file by.IR writelog .There will be a summary line describing the message and the actiontaken, followed by the article indented by four spaces, and a blank line..TP.I newgroup.logWhen.I control.ctlis configured as described above, all newgroup messages are appendedto this file using the same format as for.IR miscctl.log ..TP.I newsThis file logs articles received by.IR innd ..I Scanlogssummarizes the rejected articles reported in this file..TP.I news.critAll critical error messages issued by.I inndare appended to this file via.IR syslog (3).This log file should be empty..I Scanlogswill print the entire contents of this log file if it is non-empty.You should have the following line in your.IR syslog.conf (5)file:.RS.RS.\" =()<news.crit  @<_PATH_MOST_LOGS>@/news.crit>()=news.crit  /var/spool/news/data/news.crit.RE.RE.TP.I news.errAll major error messages issued by.I inndare appended to this file via.IR syslog .This log file should be empty..I Scanlogswill print the entire contents of this log file if it is non-empty.You should have the following line in your.I syslog.conffile:.RS.RS.\" =()<news.err  @<_PATH_MOST_LOGS>@/news.err>()=news.err  /var/spool/news/data/news.err.RE.RE.TP.I news.noticeAll standard error messages and status messages issued by.I inndare appended to this file via.IR syslog ..I Scanlogsuses the.IR awk (1)script.I innlog.awkto summarize this file.You should have the following line in your syslog.conf file:.RS.RS.\" =()<news.notice  @<_PATH_MOST_LOGS>@/news.notice>()=news.notice  /var/spool/news/data/news.notice.RE.RE.TP.I nntpsend.logThe.IR nntpsend (8)programs appends all status messages to this file..TP.I rmgroup.logWhen.I control.ctlis configured as described above, all rmgroup messages are appended to thisfile using the same format as for.IR miscctl.log ..TP.I unwanted.logThis log maintains a count of the number of articles that were rejectedbecause they were posted to newsgroups that do not exist at the local site.This file is updated by.I tally.unwantedand maintained in reverse numeric order (the most popular rejected groupfirst).This file is not rotated..SH HISTORYWritten by Landon Curt Noll <chongo@toad.com> and Rich $alz<rsalz@uunet.uu.net> for InterNetNews..de R$This is revision \\$3, dated \\$4....R$ $Id: newslog.5,v 1.3 1993/01/29 16:43:07 rsalz Exp $.SH "SEE ALSO"control.ctl(5),ctlinnd(8),expire(8),innd(8),news.daily(8),nntpsend(8),newslog(8).

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -