Hello,
I have finally been able to make it work. After moving
embedded.logging.properties
to src/test/resource I can see my log statements.
Sorry about the second post.
Thanks and greetings,
Hans
-Ursprüngliche Nachricht-
Von: Romain Manni-Bucau [mailto:rmannibu...@gmail.com]
Gesendet
Hello,
thank you for your answer. My problem is not configuring the logging from
OpenEJB but the fact that do not see any log-output from the code under test.
I have tried to set Environment openejb.logger.external=true in the Eclipse
Runtime Configuration. That didn't work. Adding a embedded.lo
On Jun 30, 2011, at 12:27 PM, kubamarchwicki wrote:
>
> Romain Manni-Bucau wrote:
>>
>> if i remember i wrote an abstract class for testng
>>
>> https://issues.apache.org/jira/browse/OPENEJB-1526
Check that in! That's great. Having not done a lot of work in TestNG I simply
had no idea how
Romain Manni-Bucau wrote:
>
> if i remember i wrote an abstract class for testng
>
> https://issues.apache.org/jira/browse/OPENEJB-1526
>
> - Romain
>
Romain, that looks like an absolute class! I'll give it a try and share my
experience as a follow up to the articles I've already written. I'v
hallo!
in unit test you can configure logging in properties, in tomcat you can do
it in logging.properties (it work sin embedded mode too but it is less
useful):
http://openejb.apache.org/3.0/configuring-logging-in-tests.html
- Romain
2011/6/30 MarcusDidius
> Hallo,
>
> I use OpenEJB 3.1.4 fo
if i remember i wrote an abstract class for testng
https://issues.apache.org/jira/browse/OPENEJB-1526
- Romain
2011/6/30 kubamarchwicki
>
> David Blevins-2 wrote:
> >
> >
> > I'd like to spend some time attempting to do the things you describe --
> > walk in your shoes, so to speak. Might be
Hallo,
I use OpenEJB 3.1.4 for Unit-Testing of EJBs. I usually run the JUnit-Tests
from Eclipse
My problem is that cannot see any log statements which my own application
should produce as soon as OpenEJB "takes over".
I use log4j.
private static Initialization initialization;
private stat
David Blevins-2 wrote:
>
>
> I'd like to spend some time attempting to do the things you describe --
> walk in your shoes, so to speak. Might be a day or two before I can do
> that. In the meantime, can you take a look at this technique. It's how
> we write our internal tests and is a big inf