Possible to get a log file fom maven test?

20 views
Skip to first unread message

vespaman

unread,
Oct 25, 2025, 1:29:40 PM (12 days ago) Oct 25
to OpenPnP
Hi all, 

When I run the maven test, I have one of the tests fail on me. Now, is there a way to debug this, or at least get a OpenPnP.log from the session? The txt file in surefire-reports does not give any more information than the error in the terminal.

I can probably find the issue even without this, so if there's no way to get any further information, I'll just have to dig deeper. But it would save a lot of time... 

 - Micael

Jan

unread,
Oct 25, 2025, 2:56:41 PM (12 days ago) Oct 25
to ope...@googlegroups.com
Mi Micael!
I don't know how to get the logs from a test, sorry! What you can do is
search the file the test in question is in and open it. While its in
focus you can execute and debug the test. In addition you might find a
line in the beginning that changes the default logging level. You could
change this (temporarily) and you'll find the output in the console.

Jan
> --
> You received this message because you are subscribed to the Google
> Groups "OpenPnP" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to openpnp+u...@googlegroups.com
> <mailto:openpnp+u...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/
> openpnp/3567454b-376e-4f00-b996-bf972f6593a2n%40googlegroups.com
> <https://groups.google.com/d/msgid/openpnp/3567454b-376e-4f00-b996-
> bf972f6593a2n%40googlegroups.com?utm_medium=email&utm_source=footer>.

vespaman

unread,
Oct 26, 2025, 3:26:26 AM (11 days ago) Oct 26
to OpenPnP
Thanks Jan, 
that works fine!

 - Micael

Reply all
Reply to author
Forward
0 new messages