On Aug 4, 2007, at 10:33 PM, David Blevins wrote:
Just a note, seems in the standalone server most the log messages wind up in system.out and not in the logs/openejb.log file. It's totally cool if we have one log setup for embedded stuff (maven building, etc.) and a different one for the standalone server.

I applied OPENEJB-626, so we have great logging behavior for the embedded scenario. We still need to get a new logging setup for the standalone server -- they're still using the same log config.

We'll probably need some logic like:

  - if conf/logging.properties exists, use it
  - if conf/ directory exists, install logging.properties and use it
  - else assume embedded and use embedded.logging.properties

I suppose the easiest way to pull that off is to slurp in the ConfUtils.getConfResource method and modify the algorithm.

Fyi, to check out the server logging you can build with assemblies on and use the quick little 'try.sh' script that simply unpacks and starts the server to save some typing.

 $ mvn clean install -Dassemble
 $ ./assembly/openejb-standalone/try.sh


-David


Reply via email to