tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Logging problem
Date Thu, 15 Dec 2016 14:16:01 GMT
Hi

conf/logging.properties is the way to configure it (LocalInitialContextFactory
will not do anything until you use openejb embedded == outside
tomee/tomcat).

Now not sure eclipse respects it, try in standalone to be sure maybe


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2016-12-15 14:58 GMT+01:00 Vincenzo D'Aniello <
ict.management.trexon@gmail.com>:

> Hi!
> I tried in every way to disable these logs:
>
> org.apache.geronimo.connector.work.WorkerContext run
> INFORMATION: Removing non-required WorkContextHandler with no context:
> org.apache.openejb.core.securit...
>
> with conf/logging.properties, putting in eclipse tomcat server arguments:
> -Djava.util.logging.config.file="C:\WORK\TomEE++
> 1.7.4\conf\logging.properties"
> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
>
> with Properties at startup setting :
> Properties p = new Properties();
> p.put(Context.INITIAL_CONTEXT_FACTORY,
> "org.apache.openejb.core.LocalInitialContextFactory");
> p.put("log4j.category.org.apache.geronimo", "error");
> Context context = new InitialContext(p);
>
> It will be a simple thing, but it always comes out, please help
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.
> n4.nabble.com/Logging-problem-tp4680748.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message