How to change logging level in runtime | Java Code Geeks
Changing the log logging level in runtime is important mainly in production environment where you might want to have debug logging for limited amount of time.
Well, changing the root logger is very simple – assuming you have an input parameter with the wanted logging level simply get the root logger and set by the input logging level, such as:
Read full article from How to change logging level in runtime | Java Code Geeks
No comments:
Post a Comment