truncated Application Call Stack format in log

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

truncated Application Call Stack format in log

bwallis42
I'm wondering if there is a way to change the format of error logging so that
it does not re-arrange the java stack trace into a format that I can't paste
into intellij or eclipse and also so that it doesn't format it in fixed
width with truncation of useful information.

e.g.


In the case of the above error, the interesting thing is the host in the url
as we have a problem with it using the wrong one sometimes. That part of the
URL has been truncated out, all I see is "43/orbeon/fr/...". Not very useful
for quickly finding the problem.

I would also sometimes like to take the stack trace and paste it into
eclipse or intellij where I have the orbeon source available and navigate
around the code using the stack trace. This works for normal java stack
traces but not with the one in the orbeon error log messages.

So, can I easily change the format of error logging into something a bit
more java like?

thanks


--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1619674646587-0.post%40n4.nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: truncated Application Call Stack format in log

brian.wallis.infomedix
and yet again the mailing list lost the example. Here is the bit that goes after the e.g.
+----------------------------------------------------------------------------------------------------------------------+
|An Error has Occurred                                                                                                 |
|----------------------------------------------------------------------------------------------------------------------|
|Connection timed out (Connection timed out)                                                                           |
|----------------------------------------------------------------------------------------------------------------------|
|Application Call Stack                                                                                                |
|----------------------------------------------------------------------------------------------------------------------|
|oxf:/apps/fr/detail/read-form.xpl                                                 |reading processor output      |  91|
|······················································································································|
|element=<p:output name="data" id="document"/>                                                                         |
|name   =data                                                                                                          |
|id     =document                                                                                                      |
|----------------------------------------------------------------------------------------------------------------------|
|43/orbeon/fr/service/persistence/crud/orbeon/builder/form/form.xhtml?document=56:8|                              |    |
|oxf:/apps/fr/detail/read-form.xpl                                                 |executing processor           |  96|
|······················································································································|
|element=<p:processor name="oxf:null-serializer">[...]</p:processor>                                                   |
|name   ={http://www.orbeon.com/oxf/processors}null-serializer                                                         |
|----------------------------------------------------------------------------------------------------------------------|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: java.net.ConnectException                                                                                  |
|----------------------------------------------------------------------------------------------------------------------|

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/e499889e-4631-4603-bce4-42c82d7a7c07n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: truncated Application Call Stack format in log

Alessandro  Vernet
Administrator
Hi Brian,

Yes, this makes sense; I created RFE #4883, and added a +1 from you.
https://github.com/orbeon/orbeon-forms/issues/4883

-Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1620149667810-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet