Re: My experiences with Rust

From: Vadim Goncharov <vadimnuclight_at_gmail.com>
Date: Mon, 25 Aug 2025 17:42:14 UTC
On Sat, 23 Aug 2025 14:13:11 +0300
Anthony Pankov <anthony.pankov@yahoo.com> wrote:

> On 23 августа 2025 г., 1:32:25 you wrote:
> ..
> > For output-only data from kernel TO BE LOGGED, text-only format would be
> > strictly wanted to read/process using oldies-but-goodies tools like
> > less, grep, awk, sed and any other thing to handle texts.  
> 
> I have a conceptual question. How to ensure reliability of recognizing
> events    coded    in    log    string?   There is no information of all
> mutations   which  log string can take. 'grep "\d+ dropped"' will
> do  the job well for "200 dropped" till log string has a form "dropped
> 100" or "150\s\sdropped". In latter cases event will be missed.
> 
> I  feel  that  there is, in principle, not enough information do solve
> the problem. But I don't think that structured data is the only cure.

It is the cure if enough care was given and implemented properly.

-- 
WBR, @nuclight