carina-studio / ULogViewer

Cross-Platform Universal Log Viewer.
https://carina-studio.github.io/ULogViewer/
MIT License
409 stars 40 forks source link

Multiline message starts with empty line #37

Closed sutr90 closed 7 months ago

sutr90 commented 8 months ago

I have following log pattern: 2024-03-07 14:46:42.089 [http-nio-8181-exec-17] WARN com.example.logger.Logger [Context: ctx] CONFIGURATION_ERROR PROPERTY_ERROR User message: Properties have error Technical message: Properties have error Solution: Please contact support Impact: Impact And I have successfully created patterns to match this almost as I need using following: multiline.json

The only issue now is, that the multiline message starts with empty line break, and I have no idea how to get rid of it. image

If there would be a message on the first line in my sample, with the timestamp. It would work as I need, but I cannot change the log format...

hamster620 commented 8 months ago

@sutr90 it seems that this is a limitation in current version, we will try removing the first empty line and release in next version.

sutr90 commented 8 months ago

Thank you for the quick reply!

hamster620 commented 7 months ago

Fixed in 4.0.9.331.