I\'m trying to configure log4j to log messages to a file. Right now, the file does get created with the name I provide, but the logs are not written to the file. My code:>
The output seems to be of the default format that Java's standard logging framework (JUL) would emit.
So, there are two possibilities (that come to mind):
java.util.logging.Logger, rather than org.apache.log4j.Logger.