chiark / gitweb /
some fixes; debug for missing
[inn-innduct.git] / doc / man / writelog.8
1 .TH WRITELOG 8
2 .SH NAME
3 writelog \- add a entry to an INN log file.
4 .SH SYNOPSIS
5 .B writelog
6 .I name
7 .I text...
8 .SH DESCRIPTION
9 .PP
10 The
11 .I writelog
12 script is used to write a log entry or send it as mail.
13 The
14 .I name
15 parameter specifies the name of the log file where the entry should
16 be written.
17 If it is the word ``mail'' then the entry is mailed to the news administrator,
18 .IR <USER\ specified\ with\ \-\-with\-news\-master\ at\ configure> .
19 The data that is written or sent consists of the
20 .I text
21 given on the command line, followed by standard input indented by
22 four spaces.
23 .IR Shlock (1)
24 is used to avoid simultaneous updates to a single log file.
25 .SH HISTORY
26 Written by Landon Curt Noll <chongo@toad.com> and Rich $alz
27 <rsalz@uunet.uu.net> for InterNetNews.
28 .de R$
29 This is revision \\$3, dated \\$4.
30 ..
31 .R$ $Id: writelog.8 5909 2002-12-03 05:17:18Z vinocur $
32 .SH "SEE ALSO"
33 innd(8),
34 innstat(8),
35 news.daily(8),
36 newslog(5),
37 nnrpd(8),
38 scanlogs(8).