Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save/Load highlight rules #9

Open
tchule opened this issue Oct 17, 2017 · 6 comments
Open

Save/Load highlight rules #9

tchule opened this issue Oct 17, 2017 · 6 comments

Comments

@tchule
Copy link

tchule commented Oct 17, 2017

Hello ^^

It would be nice to be able to save/load/edit the color rules.

And eventually to link them (and the date format) automatically to a log file (by extension ? or by directory or filename ?). It would be cool to have a preset for Apache log file, another one for PHP error logs, another for Tomcat, ...

@renatoathaydes
Copy link
Owner

The way I envisioned it, you can achieve that by using different logfx homes. See the docs for how to start LogFX with a different home by specifying a system property.

So you can start different instances of LogFX with different sets of rules.

I agree that in the future, this should be made easier...

@wimdeblauwe
Copy link

I had something like that in a tool I once created long time ago. See http://vigilog.sourceforge.net/screenshots.html Feel free to pick ideas and/or code there :) But my tool did not handle large files very well.

@renatoathaydes
Copy link
Owner

That looks nice @wimdeblauwe . What did you use to create the UI?

I like the idea of having "color groups", I think I will use that idea :)

@wimdeblauwe
Copy link

It was written in Swing. You can look at the pom.xml for the used dependencies. Some of those probably don't exist anymore (like SwingX).

@renatoathaydes
Copy link
Owner

I've just implemented this feature! I am about to make a new release, finally 1.0! It will include this feature.

@renatoathaydes
Copy link
Owner

Took me 2 years to actually release 1.0 🥲 !
The "color groups" idea was implemented long ago, but the idea to automatically associate files with a group is still to be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants