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.
SO by default idoes not? would you have an example for " the logging configuration has logging statements got to stdout or stderr"?
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