Sublime Forum

Log4j Syntax

#1

Hello All,

I am a new Sublime Text user who works on Groovy scripts and frequently needs to read log4j log files. I would like to know if anyone has seen or has a syntax def. for log4j files. Yes, I know there is a tutorial to create new syntaxes but why reinvent the wheel :smiley:

Thanks!

Steve

0 Likes

#2

Hello,

A good plugin is available : github.com/scarrillo/Log4j-Sublime

0 Likes

#3

The plug-in does not work with Sublime Text 3.
It’s a shame that Log4j support does not come by default with the app.

0 Likes

#4

Or maybe you could port the plugin to Sublime 3? Most of the time you just have to port the python code to python 3.

0 Likes

#5

Well. Log files are common. Sublime Text is a commercial product. Do I want to learn Python and the internals of ST ? Nope
Closure, Lua and many not plain old programming languages are supported, log files should be.

0 Likes

#6

Hi,

have a look at this package:
https://packagecontrol.io/packages/Log4jView

0 Likes