Share all details about your problem, including any error messages you may have received.
I need to enable logging on the attached custom rule, but need assistance on what to add to the log4j2.properties file. Please assist. If you need a copy of my log4j2 file, I will attached as well.
Insert the following entry into the log4j2.properties configuration file to enable the desired logging behavior. After updating the file, reload the logging configuration to apply the changes.
import org.apache.logging.log4j.core.config.Configurator;
import org.apache.logging.log4j.Level;
// Rule or Class level
Configurator.setLevel("com.example.Foo", Level.DEBUG);
// You can also set the root logger:
Configurator.setRootLevel(Level.DEBUG);