Enabling stack traces in console for Payara Micro

21 views
Skip to first unread message

Guilherme Mussi

unread,
Sep 3, 2018, 10:43:33 AM9/3/18
to Payara Forum
Dear Payara Community,

I am currently starting my appliication via console using payara-micro-5.182.jar.

In one of my REST endpoints, I see only the following being produced in the console:
[2018-09-03T16:21:37.504+0200] [] [ [1;91mSEVERE [0m] [] [ [1;94mfish.payara.microprofile.opentracing.jaxrs.JaxrsContainerRequestTracingFilter [0m] [tid: _ThreadID=36 _ThreadName=http-thread-pool::http-listener(7)] [timeMillis: 1535984497504] [levelValue: 1000] java.lang.NullPointerException

How can I get more details about this exception?
I thought about overriding the logging.properties file but could not find a way to do it.

Thanks for suggestions and regards,
Guilherme

Ondro Mihályi

unread,
Sep 3, 2018, 11:39:19 AM9/3/18
to gmu...@gmail.com, Payara Forum
Hi,


Are you sure that there's no stacktrace in the log?

You can override logging.properties by the "--logproperties" command line option: java -jar payara-micro.jar --logproperties mylogging.properties

Ondro

po 3. 9. 2018 o 16:43 Guilherme Mussi <gmu...@gmail.com> napísal(a):
--
You received this message because you are subscribed to the Google Groups "Payara Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to payara-forum...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/payara-forum/9542310e-69fd-416c-b540-d21f2838cb0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Guilherme Mussi

unread,
Sep 4, 2018, 3:43:34 AM9/4/18
to ondrej....@gmail.com, payara...@googlegroups.com
Hi Ondro,

Thank you for the response but indeed the exception is not being printed on the console.
Which, as I understand, would be the expected behavior with the default logging.properties file?

Any ideas?

I am currently using the Remote Debugger to see if I get more insight.

Thanks for reply + regards,
Guilherme
Reply all
Reply to author
Forward
0 new messages