X-Git-Url: http://www.git.cypherpunks.ru/?p=nncp.git;a=blobdiff_plain;f=doc%2Flog.texi;h=f9c0205e718d3ab79d68fbf9127f8c8aeb8fcae5;hp=3c91f61454e2fb3b96756f5ce8996c052b649149;hb=203dfe36da7adf2b3089e4fa4017a67409cbad70;hpb=ae2b0d687a4ed40fe0161b79b4a9ec42290ffb6b diff --git a/doc/log.texi b/doc/log.texi index 3c91f61..f9c0205 100644 --- a/doc/log.texi +++ b/doc/log.texi @@ -1,4 +1,8 @@ @node Log +@cindex log format +@cindex logging +@cindex recfile +@pindex recutils @unnumbered Log format Log is a plaintext file consisting of @@ -6,3 +10,28 @@ Log is a plaintext file consisting of read by human, but it is better to use either @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