X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=doc%2Flog.texi;h=8d3d13775e25c3de4c7a7642a9463ded7787cf5c;hb=HEAD;hp=3c91f61454e2fb3b96756f5ce8996c052b649149;hpb=ff2139ccf41d72a3c1c4b56c2106effd1ef2e841;p=nncp.git diff --git a/doc/log.texi b/doc/log.texi index 3c91f61..8d3d137 100644 --- a/doc/log.texi +++ b/doc/log.texi @@ -1,8 +1,37 @@ @node Log +@cindex log format +@cindex logging +@cindex recfile +@pindex recutils @unnumbered Log format Log is a plaintext file consisting of @url{https://www.gnu.org/software/recutils/, recfile} records. It can be -read by human, but it is better to use either @ref{nncp-log}, or -@command{recutils} utilities for selecting and formatting the required +read by human, but it is better to use either @command{@ref{nncp-log}}, +or @command{recutils} utilities for selecting and formatting the required fields. + +Two example records from it: + +@verbatim +When: 2021-08-07T20:30:49.042460622Z +Who: sp-file-done +Node: BYRRQUULEHINPKEFN7CHMSHR5I5CK7PMX5HQNCYERTBAR4BOCG6Q +Nice: 255 +Type: file +XX: rx +Pkt: VQFR6KXC5N4UGL3HKKJKPXE4TN3G4UQGFXQTEYFZ7ZZIKWUVKOGA +Size: 5229 +FullSize: 5229 +Msg: Got packet VQFR6KXC5N4UGL3HKKJKPXE4TN3G4UQGFXQTEYFZ7ZZIKWUVKOGA 100% (5.1 KiB / 5.1 KiB): done + +When: 2021-08-07T20:30:49.131766306Z +Who: rx +Node: BYRRQUULEHINPKEFN7CHMSHR5I5CK7PMX5HQNCYERTBAR4BOCG6Q +Pkt: VQFR6KXC5N4UGL3HKKJKPXE4TN3G4UQGFXQTEYFZ7ZZIKWUVKOGA +Nice: 96 +Size: 4741 +Type: exec +Dst: sendmail stargrave@stargrave.org +Msg: Got exec from gw to sendmail stargrave@stargrave.org (4.6 KiB) +@end verbatim