Skip to contentSkip to conversation

doc: log: correct option name CONFIG_LOG_MAX_LEVEL

PATCH New Patrick Delaunay 2 participants 3 messages May 26, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: log: correct option name CONFIG_LOG_MAX_LEVEL

Replace CONFIG_(SPL_)MAX_LOG_LEVEL by the correct name as defined in common/Kconfig:
line 668:config LOG_MAX_LEVEL
line 688:config SPL_LOG_MAX_LEVEL
line 708:config TPL_LOG_MAX_LEVEL

---

 doc/README.log | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
doc/README.log +2 -2
index 1057981f45..170e4ba24e 100644
@@ -60,13 +60,13 @@ Enabling logging
 The following options are used to enable logging at compile time:
 
    CONFIG_LOG		- Enables the logging system
-   CONFIG_MAX_LOG_LEVEL - Max log level to build (anything higher is compiled
+   CONFIG_LOG_MAX_LEVEL - Max log level to build (anything higher is compiled
 				out)
    CONFIG_LOG_CONSOLE	- Enable writing log records to the console
 
 If CONFIG_LOG is not set, then no logging will be available.
 
-The above have SPL versions also, e.g. CONFIG_SPL_MAX_LOG_LEVEL.
+The above have SPL versions also, e.g. CONFIG_SPL_LOG_MAX_LEVEL.
 
 
 Temporary logging within a single file
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 doc: log: correct option name CONFIG_LOG_MAX_LEVEL

Quoted 20 lines · Patrick Delaunay

Replace CONFIG_(SPL_)MAX_LOG_LEVEL by the correct name as defined in common/Kconfig:
line 668:config LOG_MAX_LEVEL
line 688:config SPL_LOG_MAX_LEVEL
line 708:config TPL_LOG_MAX_LEVEL

---

 doc/README.log | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
doc/README.log +0 -0
index 1057981f45..170e4ba24e 100644
@@ -60,13 +60,13 @@ Enabling logging
 The following options are used to enable logging at compile time:
 

doc/README.log Enabling logging · line 69

Quoted 10 lines
doc/README.log +2 -2
    CONFIG_LOG		- Enables the logging system
-   CONFIG_MAX_LOG_LEVEL - Max log level to build (anything higher is compiled
+   CONFIG_LOG_MAX_LEVEL - Max log level to build (anything higher is compiled
 				out)
    CONFIG_LOG_CONSOLE	- Enable writing log records to the console
 
 If CONFIG_LOG is not set, then no logging will be available.
 
-The above have SPL versions also, e.g. CONFIG_SPL_MAX_LOG_LEVEL.
+The above have SPL versions also, e.g. CONFIG_SPL_LOG_MAX_LEVEL.

Please mention TPL and CONFIG_TPL_LOG_MAX_LEVEL here too.

@Simon:
It would be good to reformat the whole file as restructured text and add it to the HTML documentation.

Best regards

Heinrich

Quoted 4 lines
doc/README.log +0 -0
 Temporary logging within a single file
 
#2 lore raw

PATCH 1/1 doc: log: correct option name CONFIG_LOG_MAX_LEVEL

Hi,

Quoted 21 lines

From: Heinrich Schuchardt <[email protected]>
Sent: mardi 26 mai 2020 15:51

Quoted 17 lines · Patrick Delaunay

Replace CONFIG_(SPL_)MAX_LOG_LEVEL by the correct name as defined in common/Kconfig:
line 668:config LOG_MAX_LEVEL
line 688:config SPL_LOG_MAX_LEVEL
line 708:config TPL_LOG_MAX_LEVEL

---

 doc/README.log | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
doc/README.log index renamed from doc/README.log +0 -0

1057981f45..170e4ba24e 100644

doc/README.log +0 -0

[...]

Quoted 5 lines

doc/README.log Enabling logging · line 69

Quoted 3 lines
doc/README.log +1 -1
-The above have SPL versions also, e.g. CONFIG_SPL_MAX_LOG_LEVEL.
+The above have SPL versions also, e.g. CONFIG_SPL_LOG_MAX_LEVEL.

Please mention TPL and CONFIG_TPL_LOG_MAX_LEVEL here too.

Yes, I prepare a V2.

Regards.

Patrick