CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5519
Offline
|
Hi,
CaptainCasa uses the default logging coming with the JDK. By default the log is output into the work-directory of you servlet container (Tomcat: /work/... directory). But you can also configure details via /elntjsfserver/logging.xml file.
In this file you can tell to output messages to the console, in addition to the file loffing. Now, some info on this:
Java's default logging has a "nice" feature: the console logging uses the System.err console by default.
Yes, there is a method "ConsoleHandler.setOutputStream()", but there is an annoying bug (since JDK 1.4...) that prevents this to properly work:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4827381
Whyever there is no correction yet, we have to live with this, currently.
We do not see this as a severe problem, because console logging is used for development purposes only and should be definitely switched off when deploying into serious environments!
Björn
|