Posted on by | Posted in Developer Blog, Open Source Blog | Tagged

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

to

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.



Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.