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

Add "Context" category #259

Open
rladstaetter opened this issue Aug 15, 2024 · 1 comment
Open

Add "Context" category #259

rladstaetter opened this issue Aug 15, 2024 · 1 comment

Comments

@rladstaetter
Copy link
Owner

Add a 'Category' feature which works like follows:

  • you can select a column region (similar to the timestamp window)
  • you can define a separator (for example ., ,, ``...)

After that, LogoRRR will have a look at all lines of the log file, sort it, uniq it, partition it using the separator, and create a MenuList with a tree structure which makes it easy and conveniently to activate / deactivate log lines from certain parts of the system.

For example you have following log entries:

2021-05-17 03:39:15.359 app.logorrr.a.x.MgrA INFO          startup without issues  
2021-05-17 03:39:20.356 app.logorrr.a.x.MgrA INFO          startup without issues  
2021-05-17 03:39:25.354 app.logorrr.a.x.MgrA INFO          startup without issues  
2021-05-17 03:39:30.356 app.logorrr.b.x.MgrA INFO          startup without issues  
2021-05-17 03:39:35.356 app.logorrr.b.x.MgrA INFO          startup without issues  
2021-05-17 03:39:40.358 app.logorrr.b.y.MgrB INFO          startup without issues  
2021-05-17 03:39:45.353 app.logorrr.b.y.MgrB INFO          startup without issues  
2021-05-17 03:39:50.356 app.logorrr.b.y.MgrB INFO          startup without issues  
2021-05-17 03:39:55.358 app.logorrr.c.y.MgrB INFO          startup without issues  
2021-05-17 03:40:00.353 app.logorrr.c.y.MgrB INFO          startup without issues  
2021-05-17 03:40:05.356 app.logorrr.c.z.MgrC INFO          startup without issues  
2021-05-17 03:40:10.357 app.logorrr.c.z.MgrC INFO          startup without issues  
2021-05-17 03:40:15.354 app.logorrr.c.z.MgrC INFO          startup without issues  
2021-05-17 03:40:20.354 app.logorrr.a.z.MgrC INFO          startup without issues  
2021-05-17 03:40:25.358 app.logorrr.a.z.MgrC INFO          startup without issues

you could then easily select everything from package app.logorrr.a (and below) etc.

If you use package/classnames in your log you can then observe different components of your system easily.

@rladstaetter rladstaetter added this to the 24.5.0 milestone Aug 15, 2024
@eitch
Copy link

eitch commented Aug 16, 2024

This sounds like a really awesome feature!

@rladstaetter rladstaetter removed this from the 24.5.0 milestone Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants