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

allow log messages to be sorted/paginated #142

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pbiron
Copy link

@pbiron pbiron commented Aug 9, 2017

Addresses #134.

This uses the DataTables jquery plugin to sort/paginate log messages.

DataTables is very configurable, and others may have different preferences for how to configure it, but I think the way I have it configured in this PR is pretty good:

  • by default, sort by the log level (the Type column), in the following order: error, warning, notice, info...under the assumption that what is most important to end-users are the error & warning messages
  • by default, show 10 messages per page
  • allows searching/filtering of log messages

p.s. I experimented with the tablesorter jquery plugin as mentioned in #134, but found DataTables to be easier

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

Successfully merging this pull request may close these issues.

1 participant