Welcome to JavaRanch.
In most cases, log4j takes all its configuration from an external file (often called "log4j.properties"). If that's the case here, then
you should be able to replace the configuration that comes with the library with your own configuration.