Skip to main content
dcy
Silver ⭐️⭐️
May 27, 2021
Question

How not check enable of log4j2's level

In log4j2 official we can see below content.Official says check debug level can use the second way. if applicableto above debug level?

1.png

2 replies

LeetKrew93
Gold ⭐️
Gold ⭐️
May 28, 2021

@dcy , Could you please elaborate on your query and also let us know what are you trying to achieve ?

 

Thanks,

Aditya

Translate
dcy
dcyAuthor
Silver ⭐️⭐️
May 31, 2021

Hello @LeetKrew93 

Our organization requires that all log levels above DEBUG level need to be increased with the ISINFOENABLED judgment, because the official website only states that the DEBUG level does not need to be determined. It is not clear whether other levels need to be determined or not.Personally, I think such a judgment is superfluous.Please give me some advice.1.png

Translate