Since 1.4, a logging functionnality is included with the JDK. It's the java.util.logging package.
and the result is
if the XMLFormatter is in use then the output is
to customize the output, you can provide you own formatter
To limit the log file size and set a rolling pattern
will give TestLog0.log, TestLog1.log and so on.
Default values are defined in JRE_HOME/lib/logging.properties. To use a different properties file, you specify a filename with the java.util.logging.config.file system property.
To suppress the logging output to the console
Look for the property handlers and remove the value java.util.logging.ConsoleHandler
You may want to take a look at another popular logging mechanism : Log4J.