You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Sathwik <sa...@apache.org> on 2016/08/16 12:56:56 UTC
Logging in Tomee Embedded Container
Hi,
How do we get Tomee Embedded Container to generate container logs when SLF4J and Log4j2 are in the container's classpath.
regards,
sathwik
Re: Logging in Tomee Embedded Container
Posted by Romain Manni-Bucau <rm...@gmail.com>.
openejb.log.factory=slf4j (or log4j2 depending your primary API) in
container properties does the trick
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>
2016-08-16 14:56 GMT+02:00 Sathwik <sa...@apache.org>:
> Hi,
>
> How do we get Tomee Embedded Container to generate container logs when
> SLF4J and Log4j2 are in the container's classpath.
>
> regards,
> sathwik
>