We are adding some application log files to NagiosLog that are of the following format:
Code: Select all
INFO [2017-05-04 14:30:25,044][ListenerContainer-10][ID:NNNNN-NNNNN-NNNNNN-NNNNN] - Forward.COMPONENT- Message sent to [QUEUE_NAME] Variant [RAW_TEXT] Message body [<PreScanResponse>
<PreScanID>111111</PreScanID>
<CreatedDateTime>2017-05-04T14:30:25</CreatedDateTime>
<StatusCode>YYY</StatusCode>
</PreScanResponse>] Size [178] Send Time [12]Is there a way to do this? We would want to do the same for Java stack traces as well, as right now it pollutes our logs with excessive lines.
Thank you,
Alex