-
1. Re: logging from java.util.logging
peterj Jul 25, 2008 11:38 AM (in response to erezharari)There is a global logging configuration file at java_home/jre/lib/logging.properties. If the logging configuration has logging statements got to stdout or stderr, the log4j library within jbossas will intercept those an report them as either INFO or ERROR entries in the console and server.log.
-
2. Re: logging from java.util.logging
erezharari Jul 26, 2008 5:13 AM (in response to erezharari)SO by default idoes not? would you have an example for " the logging configuration has logging statements got to stdout or stderr"?
-
3. Re: logging from java.util.logging
peterj Jul 28, 2008 11:40 AM (in response to erezharari)I looked at the logging.properties file and found the answer to your question. You can do likewise. If you are unclear on one of the configuration options, you can always ask about that.
For the example, I don't have any output from java logging (never use it), but anything written using System.out.println() would show up in the same way. Here's an example of such an output from server.log:
2008-07-23 15:29:16,020 INFO [STDOUT] (main) ======> Creating interceptor metadata bridge
So I guess any output to the console from java logging you look like:
2008-07-23 15:29:16,020 INFO [STDOUT] text from java logging