[PATCH] doc: enhance the global log level documentation
Stephen Hemminger
stephen at networkplumber.org
Wed Oct 9 20:50:39 CEST 2024
On Wed, 26 Jun 2024 19:10:48 +0200
Ilya Maximets <i.maximets at 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: stable at dpdk.org
> >
> > Signed-off-by: David Marchand <david.marchand at 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
More information about the dev
mailing list