Logging to stdout
Properties to send logging messages to the stdout.
To send the logging messages to the stdout, define the following properties in the log4j.properties file. To set the properties, complete the following steps:
- Procedure
- Open the log4j.properties file in a text editor.
- Add the following properties:
log4j.rootLogger = DEBUG, Console, file log4j.appender.Console=org.apache.log4j.ConsoleAppender log4j.appender.Console.layout=org.apache.log4j.PatternLayout log4j.appender.Console.layout.conversionPattern=%m%n
- Save the changes to the file.