You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by AndyG <an...@orprovision.com> on 2012/07/05 12:16:23 UTC
Logging documentation
This is driving me crazy. I cannot for the life of me work out how to
configure 'default' logging for a simple test.
Let's pick an example - simple-singleton.
How to I override console logging for that? I just want to debug from
'org.apache.openejb' and up. How do I do it?
No matter what I try I cannot get anything other than the default
'Information' level. The site documentation is still for log4j, so no help
there.
Doing this in log4j is trivial, but I would really like to know how to do
this out of the box.
Thanks,
Andy
--
View this message in context: http://openejb.979440.n4.nabble.com/Logging-documentation-tp4656042.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: Logging documentation
Posted by AndyG <an...@orprovision.com>.
Thanks dude! That does the trick :-)
--
View this message in context: http://openejb.979440.n4.nabble.com/Logging-documentation-tp4656042p4656047.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: Logging documentation
Posted by Romain Manni-Bucau <rm...@gmail.com>.
@BeforeClass comments:
http://svn.apache.org/repos/asf/openejb/trunk/openejb/examples/simple-webservice/src/test/java/org/superbiz/calculator/ws/CalculatorTest.java
- Romain
2012/7/5 AndyG <an...@orprovision.com>
> In jdk/jre/lib/logging.properties - Does nothing.
>
> This may be as simple as sucking eggs, and I assure you I feel stupid
> having
> to resort to asking!
>
> Using the 'simple-singleton' example as a starting point, and 'mvn clean
> install' to run it - How can I get it to log debug to the console rather
> than info? What do I need to change, create or modify to get it do this
> without adding log4j?
>
> Please, an idiots guide would be nice.
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Logging-documentation-tp4656042p4656045.html
> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>
Re: Logging documentation
Posted by AndyG <an...@orprovision.com>.
In jdk/jre/lib/logging.properties - Does nothing.
This may be as simple as sucking eggs, and I assure you I feel stupid having
to resort to asking!
Using the 'simple-singleton' example as a starting point, and 'mvn clean
install' to run it - How can I get it to log debug to the console rather
than info? What do I need to change, create or modify to get it do this
without adding log4j?
Please, an idiots guide would be nice.
--
View this message in context: http://openejb.979440.n4.nabble.com/Logging-documentation-tp4656042p4656045.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: Logging documentation
Posted by Romain Manni-Bucau <rm...@gmail.com>.
did you try logging.level.OpenEJB=FINE?
- Romain
2012/7/5 AndyG <an...@orprovision.com>
> This is driving me crazy. I cannot for the life of me work out how to
> configure 'default' logging for a simple test.
>
> Let's pick an example - simple-singleton.
>
> How to I override console logging for that? I just want to debug from
> 'org.apache.openejb' and up. How do I do it?
>
> No matter what I try I cannot get anything other than the default
> 'Information' level. The site documentation is still for log4j, so no help
> there.
>
> Doing this in log4j is trivial, but I would really like to know how to do
> this out of the box.
>
> Thanks,
>
> Andy
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Logging-documentation-tp4656042.html
> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>