]> Cypherpunks.ru repositories - nncp.git/blob - doc/log.texi
Add various documentation indices
[nncp.git] / doc / log.texi
1 @node Log
2 @cindex log format
3 @cindex logging
4 @cindex recfile
5 @pindex recutils
6 @unnumbered Log format
7
8 Log is a plaintext file consisting of
9 @url{https://www.gnu.org/software/recutils/, recfile} records. It can be
10 read by human, but it is better to use either @ref{nncp-log}, or
11 @command{recutils} utilities for selecting and formatting the required
12 fields.
13
14 Two example records from it:
15
16 @verbatim
17 When: 2021-08-07T20:30:49.042460622Z
18 Who: sp-file-done
19 Node: BYRRQUULEHINPKEFN7CHMSHR5I5CK7PMX5HQNCYERTBAR4BOCG6Q
20 Nice: 255
21 Type: file
22 XX: rx
23 Pkt: VQFR6KXC5N4UGL3HKKJKPXE4TN3G4UQGFXQTEYFZ7ZZIKWUVKOGA
24 Size: 5229
25 FullSize: 5229
26 Msg: Got packet VQFR6KXC5N4UGL3HKKJKPXE4TN3G4UQGFXQTEYFZ7ZZIKWUVKOGA 100% (5.1 KiB / 5.1 KiB): done
27
28 When: 2021-08-07T20:30:49.131766306Z
29 Who: rx
30 Node: BYRRQUULEHINPKEFN7CHMSHR5I5CK7PMX5HQNCYERTBAR4BOCG6Q
31 Pkt: VQFR6KXC5N4UGL3HKKJKPXE4TN3G4UQGFXQTEYFZ7ZZIKWUVKOGA
32 Nice: 96
33 Size: 4741
34 Type: exec
35 Dst: sendmail stargrave@stargrave.org
36 Msg: Got exec from gw to sendmail stargrave@stargrave.org (4.6 KiB)
37 @end verbatim