For debugging purposes I would like to log to server.log from an ejb.
How do I go about gettting a reference to a logger? Do I use the java
logger or log4j? Either way, what name to I give to
LoggerManager.getLogger(?)?
I read that you can redirect stdout and stderr to the log, this might
be the way to go, since System.out.println commands would go to the
log. Does anybody know how to redirect these streams?