1WRITELOG(8) InterNetNews Documentation WRITELOG(8)
2
3
4
6 writelog - Write or mail a log entry
7
9 writelog name text
10
12 The writelog script is used to write a log entry or send it as mail.
13
14 The name parameter specifies the name of the log file where the entry
15 should be written. If it is the word "mail", then the entry is sent as
16 the subject of a mail to the newsmaster address specified with
17 --with-news-master at configure time (the default address is "usenet").
18
19 If name is "/dev/null", the script does nothing and exits.
20
21 The data that is written to a log file consists of the text given on
22 the command line, followed by standard input indented by four spaces.
23 When sent by mail, the subject is text and the body is standard input
24 without indentation.
25
26 shlock(1) is used to avoid simultaneous updates to a single log file.
27
29 Written by Landon Curt Noll <chongo@toad.com> and Rich $alz
30 <rsalz@uunet.uu.net> for InterNetNews. Rewritten into POD by Julien
31 Elie.
32
34 innd(8), innstat(8), news.daily(8), newslog(5), nnrpd(8), scanlogs(8).
35
36
37
38INN 2.6.5 2022-01-23 WRITELOG(8)