We are currently in the process of cleaning up our internal wiki. A lot of information is quite outdated but it also contains some useful snippets that we would like to share with the rest of the world.
The log4j ConsoleAppender is already configured in OpenCms log4j.properties but not enabled by default. To enable it change the configuration
log4j.rootLogger=\ ERROR,\ OC
log4j.rootLogger=\ ERROR,\ OC,\ CONSOLE
This is useful when starting OpenCms from within an IDE like Netbeans or Eclipse which display the Console window by default.