doc: fix incorrect example for specifying log level
PATCH 1/1 doc: fix incorrect example for specifying log level
Now we need to add prefix like lib. to enable the log.
--- doc/guides/linux_gsg/eal_args.include.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
doc/guides/linux_gsg/eal_args.include.rst +1 -1
@@ -132,7 +132,7 @@ Debugging options Specify log level for a specific component. For example:: - --log-level eal:8 + --log-level lib.eal:8 Can be specified multiple times.
Signature · 1 line
2.17.1
Quoted 16 lines · On Tue, 17 Mar 2020 16:31:06 +0800 Xiaolong Ye <[email protected]> wrote:
Now we need to add prefix like lib. to enable the log.
Fixes ffb9fd1b0808 ("log: update legacy modules dynamic logs regex")Reported-by Haiyue Wang <[email protected]>Signed-off-by Xiaolong Ye <[email protected]>--- doc/guides/linux_gsg/eal_args.include.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)doc/guides/linux_gsg/eal_args.include.rst +0
-0
doc/guides/linux_gsg/eal_args.include.rst Debugging options · line 138
Quoted 8 lines
doc/guides/linux_gsg/eal_args.include.rst +1
-1@@ -132,7 +132,7 @@ Debugging options Specify log level for a specific component. For example:: - --log-level eal:8 + --log-level lib.eal:8 Can be specified multiple times.
Please change numeric value to name as well. Recent versions of DPDK allow "debug" instead of 8
Quoted 22 lines · Stephen Hemminger
Quoted 19 lines · On Tue, 17 Mar 2020 16:31:06 +0800 Xiaolong Ye <[email protected]> wrote:
Now we need to add prefix like lib. to enable the log.
Fixes ffb9fd1b0808 ("log: update legacy modules dynamic logs regex")Reported-by Haiyue Wang <[email protected]>Signed-off-by Xiaolong Ye <[email protected]>--- doc/guides/linux_gsg/eal_args.include.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)doc/guides/linux_gsg/eal_args.include.rst +0
-0@@ -132,7 +132,7 @@ Debugging options Specify log level for a specific component. For example::
Quoted 8 lines
doc/guides/linux_gsg/eal_args.include.rst Debugging options · line 138
Quoted 5 lines
doc/guides/linux_gsg/eal_args.include.rst +1
-1- --log-level eal:8 + --log-level lib.eal:8 Can be specified multiple times.Please change numeric value to name as well. Recent versions of DPDK allow "debug" instead of 8
Make sense, will update it.
Thanks,
Xiaolong
PATCH v2 1/1 doc: fix incorrect example for specifying log level
In reply to Xiaolong YeNow we need to add prefix like lib. to enable the log, also changing val 8 to "debug"" which would be more descriptive.
--- doc/guides/linux_gsg/eal_args.include.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
doc/guides/linux_gsg/eal_args.include.rst +1 -1
@@ -132,7 +132,7 @@ Debugging options Specify log level for a specific component. For example:: - --log-level eal:8 + --log-level lib.eal:debug Can be specified multiple times.
Signature · 1 line
2.17.1
Thomas Monjalon
Applied18/03/2020 01:58, Xiaolong Ye:
Quoted 8 lines
Now we need to add prefix like lib. to enable the log, also changing val 8 to "debug"" which would be more descriptive.
Fixes ffb9fd1b0808 ("log: update legacy modules dynamic logs regex")Reported-by Haiyue Wang <[email protected]>Signed-off-by Xiaolong Ye <[email protected]>
Applied, thanks