What Would This Custom Log Format Be?


I had a read of the docs https://github.com/JetBrains/ideolog/wiki/Custom-Log-Formats but based on the pre-existing formats I still don't really understand what a custom format would look like.

This is an example of a log message.

14:25:31.524 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread 19: dispatching class org.gradle.launcher.daemon.protocol.BuildEvent

The Time format is clearly HH:mm:ss.SSS and I guess ^\d should be OK for the message start pattern.

I'm not really sure what I am supposed to put in for the message pattern though.

Everything I try results in it not being recognised.

What would be the right pattern for this?

1 comment
Comment actions Permalink

If you've checked your regexp with some online validation tool and it matches the log statement, while it still doesn't work in ideolog, please report a bug at https://github.com/JetBrains/ideolog/issues.


Please sign in to leave a comment.