On Wed, 26 Jun 2024 19:10:48 +0200
Ilya Maximets <i.maxim...@ovn.org> wrote:

> On 6/26/24 17:09, David Marchand wrote:
> > The current documentation is non intuitive in that the global log level
> > can be understood as being a single knob controlling all components
> > logs.
> > On the contrary, all the global log level is for is to reduce verbosity
> > globally.
> > 
> > Remove examples of setting --log-level=8|debug, which is a noop.
> > 
> > Cc: sta...@dpdk.org
> > 
> > Signed-off-by: David Marchand <david.march...@redhat.com>
> > ---

Yes, the global log level pre-dates the introduction of component logs.

The wording would be better if it was more precise.

Something like:

By default, all log messages enabled by a particular component are visible.
But this may be too verbose. For example, to suppress all logs below warning 
level:
      
        /path/to-app --log-level=warning

Reply via email to