1SCANLOGS(8)               InterNetNews Documentation               SCANLOGS(8)
2
3
4

NAME

6       scanlogs - Summarize and rotate INN log files
7

SYNOPSIS

9       scanlogs [norotate]
10

DESCRIPTION

12       scanlogs summarizes the information recorded in the INN log files which
13       reside in the pathlog directory set in inn.conf (see newslog(5) for
14       further details about these log files).  It is normally invoked by the
15       news.daily(8) script which performs daily server maintenance tasks.
16
17       It invokes "ctlinnd flushlogs" to close the news and error log files,
18       rename them to add ".old" to the file names and open fresh news and
19       error logs; the active file is also flushed to disk, along with the
20       history database.
21
22       By default, scanlogs rotates and cleans out the logs.  It keeps up to
23       logcycles old compressed log files in pathlog/OLD (the logcycles
24       parameter can be set in inn.conf).  scanlogs also keeps archives of the
25       active file in this directory.
26
27       It invokes tally.control if newgroup.log or rmgroup.log exists in
28       pathlog (see the control.log entry of newslog(5) for more information
29       about that).
30
31       scanlogs displays the first 50 lines of errlog, news.err and news.crit,
32       if non-empty, and runs innreport to summarize the contents of news and
33       news.notice, and to update the unwanted.log file amongst other things
34       (see more information about that in innreport(8)).
35

OPTIONS

37       Only one option is currently accepted:
38
39       norotate
40           Using this option disables the rotating and cleaning aspect of the
41           log processing: the logs files are only scanned for information and
42           no contents are altered.  If scanlogs is invoked more than once a
43           day, the norotate option should be used to prevent premature log
44           cleaning.
45

FILES

47       See newslog(5) for the list of log files processed by scanlogs.
48

HISTORY

50       Written by Landon Curt Noll <chongo@toad.com> and Rich $alz
51       <rsalz@uunet.uu.net> for InterNetNews.  Converted to POD by Julien
52       Elie.
53

SEE ALSO

55       inn.conf(5), innreport(8), news.daily(8), newslog(5), shlock(1),
56       tally.control(8).
57
58
59
60INN 2.7.1                         2022-07-10                       SCANLOGS(8)
Impressum