sharkdp / bat

A cat(1) clone with wings.
Apache License 2.0
48.43k stars 1.2k forks source link

Log4j Support #2834

Open be-rock opened 7 months ago

be-rock commented 7 months ago

Would it be possible to support log4j in the same way that syslog is supported? Log4j is mostly supported with --language=log but there are other nice things that were added to syslog such as highlighting errors/failures.

An example of log4j format is documented here: https://logging.apache.org/log4j/2.x/manual/configuration.html

Thanks for the great project and for the consideration!

keith-hall commented 7 months ago

Out of curiosity, have you tried the syntax definition from https://packagecontrol.io/packages/Log4jView?