OxalisCommunity / oxalis

Oxalis - PEPPOL Access Point open source implementation - Core component
Other
131 stars 92 forks source link

Changed log level for failed AS2 request headers #395

Closed zeko78 closed 5 years ago

zeko78 commented 5 years ago

Changed log output level from debug to error for request data when internal errors occur in as2 inbound.

The rationale for this is that we would like to have log level set to INFO in production access point (to avoid huge, noisy logs), but we need some data to help debugging/support when errors in inbound as2 occurs.

Today the log only shows:

[ERROR] no.difi.oxalis.commons.error.QuietErrorTracker - [aabfd39f-7c9f-4729-aa88-a2f68a1a4848] IOException
[ERROR] no.difi.oxalis.as2.inbound.As2Servlet - 
    ---------- REQUEST FAILURE INFORMATION ENDS HERE --------------

To get any debug data between "IOException" and "---------- REQUEST FAILURE INFORMATION ENDS HERE --------------" we currently need to set log level to DEBUG.