Configure logback logger level

MSAL

Within logback.xml configuration files sets the specified log level for a particular class. Will not create a logback.xml if one does not already exist.

org.openrewrite.java.logging.logback.ConfigureLoggerLevel

Required

The fully qualified class name to configure the log level for

The log level to set for the class

Optional

A glob expression that can be used to constrain which directories or source files should be searched. Multiple patterns may be specified, separated by a semicolon ;. If multiple patterns are supplied any of the patterns matching will be interpreted as a match. When not set, '**/logback.xml' is used.

mod run . --recipe=org.openrewrite.java.logging.logback.ConfigureLoggerLevel \ -P className=com.example.MyClass \ -P logLevel=off

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.