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

New features : augment config with sort and include/exclude capabilities #5

Open
bligny opened this issue Dec 21, 2017 · 2 comments
Open

Comments

@bligny
Copy link

bligny commented Dec 21, 2017

Hello

First of all, let me congratulate you for this project.
I've discovered it just today, and I find it very nice (and very handy).

After having played a bit with it, I would like to suggest a possible improvement (or new features):

  • ability to add an optional filter on dir content (through include and exclude pattern/regex)
  • ability to add an optional sort criteria

Examples:

<log-access-config type="LOCAL" directory="/wildfly-10/standalone/logs" include="myapplication*.log*" sort="date DESC"/>

<log-access-config type="LOCAL" directory="/wildfly-10/standalone/logs" include="*.log" exclude="access.log"/>

Regards,

Bernard.

@fbaligand
Copy link
Owner

First, happy to see you appreciate LogNavigator project and find it handy !

Then, concerning your feature requests, I find that the first one is a good idea !
Concerning the second one, you can already sort the files by name, date and size on LogNavigator web interface.

@bligny
Copy link
Author

bligny commented Dec 21, 2017

For the sort, even if it's possible using the column headers, the idea is to define a DEFAULT sort. Very useful for monitoring, when each day I have to find today's log among a large number of rotating log files (of an application server), when each day I want to have the most recent one on the top of the filelist.
Being lazy , having my logfiles already sorted when entering the webapp/home page would be appreciated.

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