Logging

2013-10-05 Thread Marcux
hi I switched from OpenEJB 3.1.4 to OpenEJB 4.5.2 (standalone). Server side logging: a) How can I configure the logging using log4j? It seems to me that OpenEJB 4 now uses JUL. b) How can I achieve one-line-logging? Regards Marcux -- View this message in context: http://openejb.979440.n4

Logging

2014-02-24 Thread Ron Smits
Gents I have to bring this up, I know its been talked about before, but the logging in tomee is 'strange' to say the least. How difficult would it be to have slf4j as the default logger? Ron I Haven't Lost My Mind - It's Backed Up On Disk Somewhere

Re: Logging

2013-10-05 Thread Romain Manni-Bucau
Hi Jul has some one line formatting handlers (if openejb is first to use juli you have it) otherwise you need to configure jul. You can also add log4j and ask openejb to use log4j: openejb.log.factory=log4j Le 5 oct. 2013 15:38, "Marcux" a écrit :

Re: Logging

2013-10-06 Thread Marcux
bonjour merci, that helps. I start OpenEJB now with -Dopenejb.log.factory=log4j -- View this message in context: http://openejb.979440.n4.nabble.com/Logging-tp4665428p4665434.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Logging problem

2016-12-15 Thread Vincenzo D'Aniello
lContextFactory"); 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-tp468074

Logging behavior

2014-04-02 Thread Ron Smits
Hi I am trying to replace the logging in tomee with slf4j using http://hwellmann.blogspot.nl/2012/11/logging-with-slf4j-and-logback-in.html. This works fine until I add a rest service. I always get this exception; ERROR org.apache.openejb.observer.ObserverManager - error invoking Observer{class

Logging Abandoned Connection

2023-09-27 Thread chege
Hi, I using tomee 8.0.14. I want to see which code is not closing connections. I have set logAbandoned true in my datasource. However I don't see the any abandoned connection logged. DataSourceCreator tomcat JdbcDriver org.postgresql.Driver JdbcUrl jdbc:postgresql://localhos

Logging remote exceptions

2013-05-28 Thread vhubuo
Hello. I use standalone tomee plus 1.5.2 I have a remote stateless bean witch throws an exception. The exception is visible on client side as an error but is not visible in the server output. How to configure logging to achieve this behavior? -- View this message in context: http://openejb

Remote exceptions logging

2013-05-28 Thread vhubuo
Hello. I use standalone tomee plus 1.5.2 I have a remote stateless bean witch throws an exception. The exception is visible on client side as an error but is not visible in the server output. How to configure logging to achieve this behavior? -- View this message in context: http

Configuring OpenEJB logging

2013-06-03 Thread Chris.Christo
Isn't there any way to configure the slf4j implementation slf4j-jdk14 that comes with TomEE/OpenEJB? All the documentation points to dropping in the log4j implementation jar into lib and then adding various log4j.xxx to your properties. Chris

ContainerResponseFilter for logging

2015-08-06 Thread sgjava
I have a ClientRequestFilter I use for logging entity info using: // Set up web client with logging filter final Client client = ClientBuilder.newClient().register(ClientRequestLoggingFilter.class); How do you register your ContainerResponseFilter on the server side? Is there a difference with

Rest payload logging

2016-12-12 Thread COURTAULT Francois
Hello everyone, I would be pleased to see the REST HTTP request payload and the REST HTTP response payload. I have followed this link http://tomcat.apache.org/tomcat-7.0-doc/config/filter.html#Request_Dumper_Filter but it doesn't work. Indeed, I wasn't able to see any request-dumper.log file c

Re: Logging problem

2016-12-15 Thread Romain Manni-Bucau
); > > 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. >

Re: Logging problem

2016-12-15 Thread Vincenzo D'Aniello
Ok i've done it by logging.properties, i've do this: http://wiki.eclipse.org/WTP_Tomcat_FAQ#How_do_I_enable_the_JULI_logging_in_a_Tomcat_5.5_Server_instance.3F but whe i set: org.apache.geronimo.level = SEVERE or org.apache.geronimo.level = WARNING the INFO logging of org.apache.gero

Re: Logging problem

2016-12-26 Thread Vincenzo D'Aniello
ok thank you and excuse me, as indicated in various posts, including as those of romain, then worked! -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Logging-problem-tp4680748p4680826.html Sent from the TomEE Users mailing list archive at Nabble.com.

Logging configuration in TomEE 1.5.1 with commons-logging and log4j

2013-01-24 Thread ajaeger
Hello, we need some advice regarding logging configuration in TomEE 1.5.1 with commons-logging and log4j. We use the following scenario: - several applications are deployed in TomEE as webapp and/or app - each application should have its own log file - each application should be configured

Re: Logging configuration in TomEE 1.5.1 with commons-logging and log4j

2013-01-24 Thread Romain Manni-Bucau
n/rmannibucau* *Github: https://github.com/rmannibucau* 2013/1/24 ajaeger > Hello, > > we need some advice regarding logging configuration in TomEE 1.5.1 with > commons-logging and log4j. > > We use the following scenario: > - several applications are deployed in TomEE as we

Re: Logging configuration in TomEE 1.5.1 with commons-logging and log4j

2013-01-28 Thread tschuler
Hi Romain! Putting log4j.jar only into lib folder of the according web applications is not enough: The defined log files are just created but all log messages are written into catalina.log. Best regards, Thomas -- View this message in context: http://openejb.979440.n4.nabble.com/Logging

Re: Logging configuration in TomEE 1.5.1 with commons-logging and log4j

2013-01-28 Thread ajaeger
Hi, no, putting log4j.xml (or log4j2.xml) + "log4j.jar" in the app is not enough. We had to put log4j.jar in /lib and a log4j.xml in each webapp/lib. If we configure a class for logging in webapp A with its log4j.xml the same class in webapp B also logs to the same logfile despite

Re: Logging configuration in TomEE 1.5.1 with commons-logging and log4j

2013-01-28 Thread Romain Manni-Bucau
g4j.jar" in the app is not > enough. > We had to put log4j.jar in /lib and a log4j.xml in each > webapp/lib. > > If we configure a class for logging in webapp A with its log4j.xml > the same class in webapp B also logs to the same logfile despite different > configuratio

Re: Logging configuration in TomEE 1.5.1 with commons-logging and log4j

2013-01-28 Thread ajaeger
Hello Romain, here is an example that reproduces our problem. LoggingTest.zip <http://openejb.979440.n4.nabble.com/file/n4660440/LoggingTest.zip> A Readme.txt is contained. Regards, Andreas -- View this message in context: http://openejb.979440.n4.nabble.com/Logging-configuration-in

Re: Logging configuration in TomEE 1.5.1 with commons-logging and log4j

2013-01-28 Thread Romain Manni-Bucau
ndreas > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Logging-configuration-in-TomEE-1-5-1-with-commons-logging-and-log4j-tp4660376p4660440.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >

Re: Logging configuration in TomEE 1.5.1 with commons-logging and log4j

2013-01-28 Thread ajaeger
Already tried to put log4j.xml in web-inf/classes. Exact same behavior than in web-inf/lib. -- View this message in context: http://openejb.979440.n4.nabble.com/Logging-configuration-in-TomEE-1-5-1-with-commons-logging-and-log4j-tp4660376p4660442.html Sent from the OpenEJB User mailing list

Re: Logging configuration in TomEE 1.5.1 with commons-logging and log4j

2013-01-28 Thread Romain Manni-Bucau
Worked fine with your sample on the snapshot Le 28 janv. 2013 21:40, "ajaeger" a écrit : > Already tried to put log4j.xml in web-inf/classes. > Exact same behavior than in web-inf/lib. > > > > > -- > View this message in context: > http://openejb.979440.n

Re: Logging configuration in TomEE 1.5.1 with commons-logging and log4j

2013-01-29 Thread ajaeger
Hi Romain, I can confirm that my sample works with todays snapshot from TomEE 1.5.2. We tested with 1.5.1 so far. Do you have already a release date for 1.5.2? Thanks Andreas -- View this message in context: http://openejb.979440.n4.nabble.com/Logging-configuration-in-TomEE-1-5-1-with

Re: Logging configuration in TomEE 1.5.1 with commons-logging and log4j

2013-01-29 Thread Romain Manni-Bucau
sage in context: > http://openejb.979440.n4.nabble.com/Logging-configuration-in-TomEE-1-5-1-with-commons-logging-and-log4j-tp4660376p4660444.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >

Re: Logging configuration in TomEE 1.5.1 with commons-logging and log4j

2013-02-11 Thread Saveriu
Hi! I found a solution: Just put the log4j.properties and common-logging.properties (or both .xml) in your application /lib folder (with log4j.jar in it). Cheers! -- View this message in context: http://openejb.979440.n4.nabble.com/Logging-configuration-in-TomEE-1-5-1-with-commons-logging

FTP trace level logging?

2018-03-08 Thread RobD
Hello, this seems simple enough but having difficulty in enabling FTP wire trace logging in TomEE; using org.apache.commons.net.ftp.FTPClient and would think I could either update logging.properties to include debug or trace level logging to that, or use a -D switch but cannot find anything

Re: Logging Abandoned Connection

2023-09-27 Thread Kean Erickson
I believe you need a couple more properties for abandoned connections to be pruned: removeAbandoned="true" removeAbandonedTimeout="60" On Wed, Sep 27, 2023, 12:18 AM chege wrote: > Hi, > > I using tomee 8.0.14. I want to see which code is not closing > connections. I have set logAbandoned true

Re: Logging Abandoned Connection

2023-09-27 Thread chege
On Wed, 2023-09-27 at 11:32 -0700, Kean Erickson wrote: > Kean Hi Kean, Thanks for the response. Before removing abandoned connections I want to log the event.

Re: Logging Abandoned Connection

2023-09-28 Thread Kean Erickson
Hi Chege, to my knowledge these flags are meant to work together, so the abandoned cinnections should be logged as they are removed. But I think setting the suspectTimeout flag will allow you to test how you want: https://tomcat.apache.org/tomcat-8.5-doc/jdbc-pool.html On Wed, Sep 27, 2023, 9:28

Re: Logging remote exceptions

2013-05-29 Thread Jean-Louis MONTEIRO
hubuo > Hello. > I use standalone tomee plus 1.5.2 > > I have a remote stateless bean witch throws an exception. > The exception is visible on client side as an error but is not visible in > the server output. > > How to configure logging to achieve this behavior? > > &g

Re: Remote exceptions logging

2013-05-29 Thread Jean-Louis MONTEIRO
same answer as the other post. JLouis 2013/5/28 vhubuo > Hello. > I use standalone tomee plus 1.5.2 > > I have a remote stateless bean witch throws an exception. > The exception is visible on client side as an error but is not visible in > the server output. > > How

Re: Remote exceptions logging

2013-05-29 Thread vhubuo
t;;); ctx = new InitialContext(p); ((NewClassRemote) ctx.lookup("NewClassRemote")).test(); } } -- View this message in context: http://openejb.979440.n4.nabble.com/Remote-exceptions-logging-tp4663282p4663314.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: Remote exceptions logging

2013-05-29 Thread vhubuo
exceptions from remote ejbs ? How do I enable it ? -- View this message in context: http://openejb.979440.n4.nabble.com/Remote-exceptions-logging-tp4663282p4663321.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: Remote exceptions logging

2013-05-29 Thread Howard W. Smith, Jr.
you using? you may need to share your server.xml, tomee.xml, and/or other xml/config files related to logging. honestly, I don't ever modify the logging properties file, I use default settings. On Wed, May 29, 2013 at 4:33 AM, vhubuo wrote: > In my application i want to see runtime er

Re: Remote exceptions logging

2013-05-29 Thread Howard W. Smith, Jr.
that are visible on user client PC, are > sometimes outputted to localhost.* files. > > Are you running TomEE as a service or via an IDE? what IDE are you using? > you may need to share your server.xml, tomee.xml, and/or other xml/config > files related to logging. honestly, I don't

Re: Remote exceptions logging

2013-05-29 Thread Mark Struberg
penjpa.jar packaged (becaue there is no JPA done on the client) LieGrue, strub - Original Message - > From: "Howard W. Smith, Jr." > To: users@tomee.apache.org > Cc: "us...@openejb.apache.org" > Sent: Wednesday, 29 May 2013, 22:14 > Subject: R

Re: Remote exceptions logging

2013-05-29 Thread Romain Manni-Bucau
t; > - Original Message - > > From: "Howard W. Smith, Jr." > > To: users@tomee.apache.org > > Cc: "us...@openejb.apache.org" > > Sent: Wednesday, 29 May 2013, 22:14 > > Subject: Re: Remote exceptions logging > > > > see furthe

Re: Remote exceptions logging

2013-05-29 Thread vhubuo
.nabble.com/Remote-exceptions-logging-tp4663282p4663336.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: Remote exceptions logging

2013-05-29 Thread Romain Manni-Bucau
onUtil > handleSystemException > SEVERE: EjbTransactionUtil.handleSystemException: user defined exception > java.lang.UnsupportedOperationException: user defined exception > > What are your recommendations on production usage? > > > > > > -- > View this message in c

Re: Remote exceptions logging

2013-05-30 Thread vhubuo
-exceptions-logging-tp4663282p4663338.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: Remote exceptions logging

2013-05-30 Thread Chris.Christo
t; SEVERE: EjbTransactionUtil.handleSystemException: user defined exception > java.lang.UnsupportedOperationException: user defined exception > > What are your recommendations on production usage? > > > > > > -- > View this message in context: > http://openejb.979

Re: Remote exceptions logging

2013-05-30 Thread Chris.Christo
; On 1.6.0-SNAPSHOT it works correctly. >> >> I get: >> май 30, 2013 9:14:57 AM >> org.apache.openejb.core.transaction.EjbTransactionUtil handleSystemException >> SEVERE: EjbTransactionUtil.handleSystemException: user defined exception >> java.lang.UnsupportedOperationException:

Re: Remote exceptions logging

2013-05-30 Thread Romain Manni-Bucau
1.6.0-SNAPSHOT it works correctly. > >> > >> I get: > >> май 30, 2013 9:14:57 AM > >> org.apache.openejb.core.transaction.EjbTransactionUtil > handleSystemException > >> SEVERE: EjbTransactionUtil.handleSystemException: user defined exception > >> java.lang.UnsupportedOperationException: user defined exception > >> > >> What are your recommendations on production usage? > >> > >> > >> > >> > >> > >> -- > >> View this message in context: > http://openejb.979440.n4.nabble.com/Remote-exceptions-logging-tp4663282p4663336.html > >> Sent from the OpenEJB User mailing list archive at Nabble.com. > > > >

Re: Remote exceptions logging

2013-05-30 Thread Dmitrijs Litajevs
> >> On 1.6.0-SNAPSHOT it works correctly. > > >> > > >> I get: > > >> май 30, 2013 9:14:57 AM > > >> org.apache.openejb.core.transaction.EjbTransactionUtil > > handleSystemException > > >> SEVERE: EjbTransactionUtil.handleSystemException: user defined > exception > > >> java.lang.UnsupportedOperationException: user defined exception > > >> > > >> What are your recommendations on production usage? > > >> > > >> > > >> > > >> > > >> > > >> -- > > >> View this message in context: > > > http://openejb.979440.n4.nabble.com/Remote-exceptions-logging-tp4663282p4663336.html > > >> Sent from the OpenEJB User mailing list archive at Nabble.com. > > > > > > > >

Re: Remote exceptions logging

2013-05-30 Thread Romain Manni-Bucau
emote annotation ? And is there any configuration > > > >> available. > > > >> > > > >> I use a "clean" installation of 1.5.2 of the server without any > > > >> configuration. > > > >> > > > >>&g

Re: Remote exceptions logging

2013-05-30 Thread Dmitrijs Litajevs
guration > > > > >> available. > > > > >> > > > > >> I use a "clean" installation of 1.5.2 of the server without any > > > > >> configuration. > > > > >> > > > > >>> can you check with the snapshot, i just tried with 1.6.0-SNAPSHOT > > > > >> > > > > >> On 1.6.0-SNAPSHOT it works correctly. > > > > >> > > > > >> I get: > > > > >> май 30, 2013 9:14:57 AM > > > > >> org.apache.openejb.core.transaction.EjbTransactionUtil > > > > handleSystemException > > > > >> SEVERE: EjbTransactionUtil.handleSystemException: user defined > > > exception > > > > >> java.lang.UnsupportedOperationException: user defined exception > > > > >> > > > > >> What are your recommendations on production usage? > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> -- > > > > >> View this message in context: > > > > > > > > > > http://openejb.979440.n4.nabble.com/Remote-exceptions-logging-tp4663282p4663336.html > > > > >> Sent from the OpenEJB User mailing list archive at Nabble.com. > > > > > > > > > > > > > > > > > > >

Re: Remote exceptions logging

2013-05-30 Thread Romain Manni-Bucau
files. > > > > > >> > > > > > >> So my question is how does TomEE log unexpected exceptions in > > > > stateless > > > > > >> beans exposed via remote annotation ? And is there any > > configuration > > > > > >> available. > > > > > >> > > > > > >> I use a "clean" installation of 1.5.2 of the server without any > > > > > >> configuration. > > > > > >> > > > > > >>> can you check with the snapshot, i just tried with > 1.6.0-SNAPSHOT > > > > > >> > > > > > >> On 1.6.0-SNAPSHOT it works correctly. > > > > > >> > > > > > >> I get: > > > > > >> май 30, 2013 9:14:57 AM > > > > > >> org.apache.openejb.core.transaction.EjbTransactionUtil > > > > > handleSystemException > > > > > >> SEVERE: EjbTransactionUtil.handleSystemException: user defined > > > > exception > > > > > >> java.lang.UnsupportedOperationException: user defined exception > > > > > >> > > > > > >> What are your recommendations on production usage? > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> -- > > > > > >> View this message in context: > > > > > > > > > > > > > > > http://openejb.979440.n4.nabble.com/Remote-exceptions-logging-tp4663282p4663336.html > > > > > >> Sent from the OpenEJB User mailing list archive at Nabble.com. > > > > > > > > > > > > > > > > > > > > > > > > > >

Re: Remote exceptions logging

2013-05-30 Thread Howard W. Smith, Jr.
pped into EJBException for > the > > > > > > client. And > > > > > > >> I see the stack trace on client. But I don't see the stack > trace > > > in > > > > > any > > > > > > of > > > > > > >> server log files. > > > > > > >> > > > > > > >> So my question is how does TomEE log unexpected exceptions in > > > > > stateless > > > > > > >> beans exposed via remote annotation ? And is there any > > > configuration > > > > > > >> available. > > > > > > >> > > > > > > >> I use a "clean" installation of 1.5.2 of the server without > any > > > > > > >> configuration. > > > > > > >> > > > > > > >>> can you check with the snapshot, i just tried with > > 1.6.0-SNAPSHOT > > > > > > >> > > > > > > >> On 1.6.0-SNAPSHOT it works correctly. > > > > > > >> > > > > > > >> I get: > > > > > > >> май 30, 2013 9:14:57 AM > > > > > > >> org.apache.openejb.core.transaction.EjbTransactionUtil > > > > > > handleSystemException > > > > > > >> SEVERE: EjbTransactionUtil.handleSystemException: user defined > > > > > exception > > > > > > >> java.lang.UnsupportedOperationException: user defined > exception > > > > > > >> > > > > > > >> What are your recommendations on production usage? > > > > > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > > > >> -- > > > > > > >> View this message in context: > > > > > > > > > > > > > > > > > > > > > http://openejb.979440.n4.nabble.com/Remote-exceptions-logging-tp4663282p4663336.html > > > > > > >> Sent from the OpenEJB User mailing list archive at Nabble.com. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >

Re: Remote exceptions logging

2013-05-30 Thread Dmitrijs Litajevs
; > > > > On 30 May 2013, at 07:19, vhubuo > wrote: > > > > > > > > > > > > > >> Yes. The RuntimeExceptions are wrapped into EJBException for > the > > > > > > client. And > > > > > > >> I see the stack trace on client. But I

Re: Remote exceptions logging

2013-05-30 Thread Romain Manni-Bucau
GitHub: https://github.com/ChrisChristo > > > > > > > > > > > > > > > > On 30 May 2013, at 07:19, vhubuo > > wrote: > > > > > > > > > > > > > > > >> Yes. The RuntimeExceptions are wrapped into EJBException for > > the > > > > > > > client. And > > > > > > > >> I see the stack trace on client. But I don't see the stack > > trace > > > > in > > > > > > any > > > > > > > of > > > > > > > >> server log files. > > > > > > > >> > > > > > > > >> So my question is how does TomEE log unexpected exceptions > in > > > > > > stateless > > > > > > > >> beans exposed via remote annotation ? And is there any > > > > configuration > > > > > > > >> available. > > > > > > > >> > > > > > > > >> I use a "clean" installation of 1.5.2 of the server without > > any > > > > > > > >> configuration. > > > > > > > >> > > > > > > > >>> can you check with the snapshot, i just tried with > > > 1.6.0-SNAPSHOT > > > > > > > >> > > > > > > > >> On 1.6.0-SNAPSHOT it works correctly. > > > > > > > >> > > > > > > > >> I get: > > > > > > > >> май 30, 2013 9:14:57 AM > > > > > > > >> org.apache.openejb.core.transaction.EjbTransactionUtil > > > > > > > handleSystemException > > > > > > > >> SEVERE: EjbTransactionUtil.handleSystemException: user > defined > > > > > > exception > > > > > > > >> java.lang.UnsupportedOperationException: user defined > > exception > > > > > > > >> > > > > > > > >> What are your recommendations on production usage? > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> -- > > > > > > > >> View this message in context: > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://openejb.979440.n4.nabble.com/Remote-exceptions-logging-tp4663282p4663336.html > > > > > > > >> Sent from the OpenEJB User mailing list archive at > Nabble.com. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >

Re: Remote exceptions logging

2013-05-30 Thread Mark Struberg
ct: Re: Remote exceptions logging > > >I start the server. Copy app.war to the webapps dir. It deploys >Then call the @Remote bean form my se client. Error shows correctly in >catalina.out > >Then i change something in the method that i called. For example error >description. &

Re: Remote exceptions logging

2013-05-30 Thread Dmitrijs Litajevs
n which adds an @LogExceptions kind of Interceptor to > those beans. Or just add the interceptor to to those EJBs yourself manually. > > > LieGrue, > strub > > > > > From: Dmitrijs Litajevs > >To: users@tomee.apache.org > >Sen

Re: Remote exceptions logging

2013-05-30 Thread Jean-Louis MONTEIRO
ourself manually. > > > LieGrue, > strub > > > > > From: Dmitrijs Litajevs > >To: users@tomee.apache.org > >Sent: Thursday, 30 May 2013, 15:08 > >Subject: Re: Remote exceptions logging > > > > > >I start the server. Copy app.war t

Re: Remote exceptions logging

2013-05-30 Thread Romain Manni-Bucau
on which adds an @LogExceptions kind of Interceptor > to > > those beans. Or just add the interceptor to to those EJBs yourself > manually. > > > > > > LieGrue, > > strub > > > > >____ > > > From: Dmitrijs Litajevs

Re: Remote exceptions logging

2013-05-31 Thread Romain Manni-Bucau
st servers I know don't log it. You might work around it by >> > writing a CDI Extension which adds an @LogExceptions kind of >> Interceptor to >> > those beans. Or just add the interceptor to to those EJBs yourself >> manually. >> > >> > >&

Re: Configuring OpenEJB logging

2013-06-03 Thread Romain Manni-Bucau
Hi, just use JUL configuration *Romain Manni-Bucau* *Twitter: @rmannibucau * *Blog: **http://rmannibucau.wordpress.com/* *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/6/3 Chr

Re: Remote exceptions logging

2013-06-03 Thread vhubuo
For the 1.6.0 builds everything work fine. For 1.5.2 and 1.5.3 ".useParentHandlers = true" workaround does not work. -- View this message in context: http://openejb.979440.n4.nabble.com/Remote-exceptions-logging-tp4663282p4663433.html Sent from the OpenEJB User mailing list

Re: Configuring OpenEJB logging

2013-06-03 Thread Chris.Christo
Hi Romain, So how would I apply these logging properties using JUL? log4j.rootLogger = fatal,C log4j.category.OpenEJB = debug log4j.category.OpenEJB.options = debug log4j.category.OpenEJB.server = debug log4j.category.OpenEJB.startup = debug

Re: Configuring OpenEJB logging

2013-06-03 Thread Romain Manni-Bucau
*<http://rmannibucau.wordpress.com/> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/6/3 Chris.Christo > Hi Romain, > > So how would I apply these logging properties using JUL? > > log4j.rootLogger = fatal

Re: Remote exceptions logging

2013-06-03 Thread Romain Manni-Bucau
cau* *Github: https://github.com/rmannibucau* 2013/6/3 vhubuo > For the 1.6.0 builds everything work fine. > For 1.5.2 and 1.5.3 ".useParentHandlers = true" workaround does not work. > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.c

Re: Remote exceptions logging

2013-06-03 Thread vhubuo
> wonder if -Dopenejb.log.factory=slf4j could be a workaround for older > versions Does not work for me. -- View this message in context: http://openejb.979440.n4.nabble.com/Remote-exceptions-logging-tp4663282p4663452.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: Configuring OpenEJB logging

2013-06-04 Thread Chris.Christo
cau <https://twitter.com/rmannibucau>* > *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > *Github: https://github.com/rmannibucau* > > > > 2013/6/3 Chris.Christo > >&g

Re: ContainerResponseFilter for logging

2015-08-06 Thread Romain Manni-Bucau
//www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> 2015-08-06 13:00 GMT-07:00 sgjava : > I have a ClientRequestFilter I use for logging entity info using: > > // Set up web client with logging filter > final Client client = > ClientBuilder.newClient().regist

Re: ContainerResponseFilter for logging

2015-08-06 Thread Steve Goldsmith
com/rmannibucau> | Blog > <http://rmannibucau.wordpress.com> | Github < > https://github.com/rmannibucau> | > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber > <http://www.tomitribe.com> > > 2015-08-06 13:00 GMT-07:00 sgjava : > > > I

Re: ContainerResponseFilter for logging

2015-08-07 Thread sgjava
message in context: http://tomee-openejb.979440.n4.nabble.com/ContainerResponseFilter-for-logging-tp4675772p4675778.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: ContainerResponseFilter for logging

2015-08-07 Thread Romain Manni-Bucau
Override > public void filter(final ContainerRequestContext requestContext, > final ContainerResponseContext responseContext) { > log.debug(String.format("Entity: %s", > responseContext.getEntity())); > } > } > > > > -- > View t

Re: ContainerResponseFilter for logging

2015-08-07 Thread Steve Goldsmith
@Override > > public void filter(final ContainerRequestContext requestContext, > > final ContainerResponseContext responseContext) { > > log.debug(String.format("Entity: %s", > > responseContext.getEntity())); > > } > >

Re: ContainerResponseFilter for logging

2015-08-07 Thread Romain Manni-Bucau
HECKSTYLE:ON ConstantName > > > > > >@Override > > > public void filter(final ContainerRequestContext requestContext, > > > final ContainerResponseContext responseContext) { > > > log.debug(String.format("Entity: %s", > > > responseContext.getEntity())); > > > } > > > } > > > > > > > > > > > > -- > > > View this message in context: > > > > > http://tomee-openejb.979440.n4.nabble.com/ContainerResponseFilter-for-logging-tp4675772p4675778.html > > > Sent from the TomEE Users mailing list archive at Nabble.com. > > > > > > > > > -- > Steven P. Goldsmith

Re: ContainerResponseFilter for logging

2015-08-07 Thread Steve Goldsmith
/ > > > > //CHECKSTYLE:OFF ConstantName > > > > private static final Logger log = LoggerFactory. > > > > getLogger(ServerResponseLoggingFilter.class); > > > > //CHECKSTYLE:ON ConstantName > > > > > > > >@Ove

Re: ContainerResponseFilter for logging

2015-08-07 Thread Romain Manni-Bucau
gt; > > > > getLogger(ServerResponseLoggingFilter.class); > > > > > //CHECKSTYLE:ON ConstantName > > > > > > > > > >@Override > > > > > public void filter(final ContainerRequestContext > requestContext, > > > > > final ContainerResponseContext responseContext) { > > > > > log.debug(String.format("Entity: %s", > > > > > responseContext.getEntity())); > > > > > } > > > > > } > > > > > > > > > > > > > > > > > > > > -- > > > > > View this message in context: > > > > > > > > > > > > > > http://tomee-openejb.979440.n4.nabble.com/ContainerResponseFilter-for-logging-tp4675772p4675778.html > > > > > Sent from the TomEE Users mailing list archive at Nabble.com. > > > > > > > > > > > > > > > > > > > > > -- > > > Steven P. Goldsmith > > > > > > -- > Steven P. Goldsmith >

Turning on tomee logging.

2016-05-24 Thread paulhr
{catalina.base}/logs 5tomee.org.apache.juli.FileHandler.prefix = tomee. * -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Turning-on-tomee-logging-tp4678585.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: Rest payload logging

2016-12-12 Thread Romain Manni-Bucau
Hi cxf built-in solution is to use logging feature: org.apache.openejb.cxf.bus.features = org.apache.cxf.feature.LoggingFeature Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcloud.com> | Old Blog <http://rmannibuca

RE: Rest payload logging

2016-12-12 Thread COURTAULT Francois
2016 09:40 To: users@tomee.apache.org Subject: Re: Rest payload logging Hi cxf built-in solution is to use logging feature: org.apache.openejb.cxf.bus.features = org.apache.cxf.feature.LoggingFeature Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https:/

RE: Rest payload logging

2016-12-12 Thread Romain Manni-Bucau
a.log normally. try putting it in dystem properties as mentionned. Best Regards. -Original Message- From: Romain Manni-Bucau [mailto:rmannibu...@gmail.com] Sent: lundi 12 décembre 2016 09:40 To: users@tomee.apache.org Subject: Re: Rest payload logging Hi cxf built-in solu

Re: Rest payload logging

2016-12-12 Thread Steve Goldsmith
Have you looked at ClientRequestFilter and ClientResponseFilter? On Mon, Dec 12, 2016 at 3:31 AM, COURTAULT Francois < francois.courta...@gemalto.com> wrote: > Hello everyone, > > I would be pleased to see the REST HTTP request payload and the REST HTTP > response payload. > > I have followed thi

Re: Rest payload logging

2016-12-12 Thread Steve Goldsmith
Also ContainerResponseFilter On Mon, Dec 12, 2016 at 3:31 AM, COURTAULT Francois < francois.courta...@gemalto.com> wrote: > Hello everyone, > > I would be pleased to see the REST HTTP request payload and the REST HTTP > response payload. > > I have followed this link http://tomcat.apache.org/ > t

RE: Rest payload logging

2016-12-12 Thread COURTAULT Francois
...@gmail.com] Sent: lundi 12 décembre 2016 14:13 To: users@tomee.apache.org Subject: RE: Rest payload logging Le 12 déc. 2016 14:01, "COURTAULT Francois" a écrit : Hello Romain, Any idea why the solution described at: I have followed this link http://tomcat.apache.org/ tomcat-7.0-

Re: Rest payload logging

2016-12-12 Thread Steve Goldsmith
Why not use a logger as I described before? Here's an example if logging client requests https://github.com/sgjava/jcache-tomee/blob/master/src/main/java/com/codeferm/jcache/tomee/ClientRequestLoggingFilter.java On Mon, Dec 12, 2016 at 3:40 PM, COURTAULT Francois < francois.courta...@gem

Re: Rest payload logging

2016-12-12 Thread Romain Manni-Bucau
bucau.rhcloud.com> 2016-12-12 21:51 GMT+01:00 Steve Goldsmith : > Why not use a logger as I described before? Here's an example if logging > client requests > https://github.com/sgjava/jcache-tomee/blob/master/src/ > main/java/com/codeferm/jcache/tomee/ClientRequestLoggingFi

RE: Rest payload logging

2016-12-13 Thread COURTAULT Francois
-Bucau [mailto:rmannibu...@gmail.com] Sent: lundi 12 décembre 2016 22:02 To: users@tomee.apache.org Subject: Re: Rest payload logging it is really just one line to put in conf/system.properties (or jvm system properties) -> https://github.com/tomitribe/tribestream-api-registry/blob/master/tribestr

RE: Rest payload logging

2016-12-13 Thread COURTAULT Francois
Sent: mardi 13 décembre 2016 10:10 To: users@tomee.apache.org Subject: RE: Rest payload logging Hello Romain, I have added org.apache.openejb.cxf.bus.features=org.apache.cxf.feature.LoggingFeature in the TomEE system.properties file and I am able to see the incoming request and the outgoing res

Re: Rest payload logging

2016-12-13 Thread Romain Manni-Bucau
apache.org/tomcat-8.5-doc/config/filter.html > and the Request Dumper Filter is still there. > > So any idea why it hasn't work for me ? > > Best Regards. > > -Original Message- > From: COURTAULT Francois > Sent: mardi 13 décembre 2016 10:10 > To: user

Remove EjbTransactionUtil SystemException logging

2014-10-23 Thread Volker Ivens
logging in a JAX-RS exception mapper, i was wondering if there is a way to prevent this logging caused by the EjbTransactionUtil. We're hesitant of adjusting the logger to ignore the category used by EjbTransactionUtil, because it is the root category OpenEJB. i would appreciate ideas how to

Embedded Tomee logging configuration documentation

2016-05-15 Thread ravi sankar
Hi How to set the logging level to debug in tomee embedded. Any documentation link will be helpful. Thanks,Ravisankar Challa

Re: Turning on tomee logging.

2016-05-24 Thread Romain Manni-Bucau
oleHandler > # openjpa.handlers = 5tomee.org.apache.juli.FileHandler, > java.util.logging.ConsoleHandler > # OpenEJB.cdi.handlers = 5tomee.org.apache.juli.FileHandler, > java.util.logging.ConsoleHandler > # org.apache.webbeans.handlers = 5tomee.org.apache.juli.FileHandler, > java.util.logging.ConsoleHandler > # org.apach

Re: Turning on tomee logging.

2016-05-24 Thread paulhr
message in context: http://tomee-openejb.979440.n4.nabble.com/Turning-on-tomee-logging-tp4678585p4678589.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: Turning on tomee logging.

2016-05-24 Thread Romain Manni-Bucau
View this message in context: > http://tomee-openejb.979440.n4.nabble.com/Turning-on-tomee-logging-tp4678585p4678589.html > Sent from the TomEE Users mailing list archive at Nabble.com. >

Re: Turning on tomee logging.

2016-05-25 Thread paulhr
69. -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Turning-on-tomee-logging-tp4678585p4678595.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: Turning on tomee logging.

2016-05-25 Thread Romain Manni-Bucau
tton is not working.I have > two servers in the Windows -> preferences -> Server -> Runtime > Environments. > One for tomcat 1.7.4 one for TomEE-Plume 7.0.69. > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/Turning-on-tomee-logging-tp4678585p4678595.html > Sent from the TomEE Users mailing list archive at Nabble.com. >

Re: Turning on tomee logging.

2016-05-25 Thread paulhr
Fixing the logging issue is written up on this wiki page. http://wiki.eclipse.org/WTP_Tomcat_FAQ#How_do_I_enable_the_JULI_logging_in_a_Tomcat_5.5_Server_instance.3F Even though the wiki section is written for Tomcat 5.5 it still applies to Tomcat 7.0.69. -- View this message in context

Logging FINE level to console

2016-07-07 Thread Petras Petkus
Hello, There seems to be an issue with logging to console if configured level is lower than INFO (ex. FINE, FINEST). There is no effect even if in conf/logging.properties I set: org.apache.tomee.jul.formatter.AsyncConsoleHandler.level = ALL It appears that AsyncConsoleHandler instantiates and

Logging in Tomee Embedded Container

2016-08-16 Thread Sathwik
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: Remove EjbTransactionUtil SystemException logging

2014-10-23 Thread Romain Manni-Bucau
og entry for this /SEVERE: > EjbTransactionUtil.handleSystemException:/. > > As we do our own exception handling and logging in a JAX-RS exception > mapper, i was wondering if there is a way to prevent this logging caused by > the EjbTransactionUtil. > We're hesitant of adjusting the logger to ignore the c

Logging configuration in TomEE 1.6.0 with commons-logging and log4j using webapps and ear

2013-04-25 Thread ajaeger
Hello, we need some advice regarding logging configuration in TomEE 1.6.0-Snapshot 20130417 with commons-logging and log4j. We asked a similar questions in January for TomEE 1.5.1 which were solved with TomEE 1.5.2. Meanwhile we moved on to TomEE 1.6.0 and deploy an additional EAR together

Re: Logging configuration in TomEE 1.6.0 with commons-logging and log4j using webapps and ear

2013-04-25 Thread Romain Manni-Bucau
Hi providing a sample will be more clear (at least fo rme ;) would be great if it could log "this message should have this format {the message}" or sthg like it to show it doesn't work PS: do you use use_tccl property of commons logging? *Romain Manni-Bucau* *Twitter: @rma

Configure logging REST requests on OpenEJB

2013-07-01 Thread Chris.Christo
Trying to configure OpenEJB standalone to log all rest requests. How do I go about doing this? I saw this on the Apache CXF website: http://cxf.apache.org/core"; xsi:schemaLocation="http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd";> But not sure where to p

Re: Embedded Tomee logging configuration documentation

2016-05-16 Thread Romain Manni-Bucau
Hi Just refer to JVM logging setup which is our default if you dont change the logging framework. In embedded mode we dont control the jvm do we dont setup the logmanager in general. Le 16 mai 2016 05:55, "ravi sankar" a écrit : Hi How to set the logging level to debug in tomee emb

Re: Embedded Tomee logging configuration documentation

2016-05-16 Thread ravi sankar
HII am using java.util.logging By changing the logging.properties in conf folder of tomee I am able to customize logging format. Placing logging.properties in WEB-INF/classes in war  also works But in embedded mode nothing seems to work. Thanks,Ravi On Monday, 16 May 2016 5:20 PM, Romain

  1   2   >