Anton Tagunov wrote:

Hi, Stephen!

What logger are you using to get your messages so quite?


Its logger independent.


I'm using the ExceptionHelper class in org.apache.avalon.assembly.util in the assembly-spi package. The class basically goes through a exception stack and pulls out the causal information and optionally includes a formatted stack track for the root cause.

Cheers, Steve.



-Anton

SM>   [INFO   ] (nested.hello): starting
SM>   [ERROR  ] (sys): Root block installation failure.
SM>   -------------------------------------------------------------------
SM>   Exception: org.apache.avalon.merlin.kernel.KernelException
SM>   Message: Root block deployment failure.

SM>   Cause: org.apache.avalon.merlin.block.BlockException
SM>   Message: Composite deployment failure in: [block://]
SM>   ...


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]






--


Stephen J. McConnell
mailto:[EMAIL PROTECTED]
http://www.osm.net

Sent via James running under Merlin as an NT service.
http://avalon.apache.org/sandbox/merlin




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to