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

update the LoggerGetLogContentHandler to return map and handle parsing exception #1102

Closed
stevehu opened this issue Feb 7, 2022 · 0 comments

Comments

@stevehu
Copy link
Contributor

stevehu commented Feb 7, 2022

  1. There might be multiple loggers defined in the logback.xml with different logging levels. The UI will have a dropdown to displace the content for a logger each time.
  2. Add the offset and limit to the API so that only a number of the logging statements will be returned for each request.
  3. Handle the exception to parse the logging statement to skip logger like Audit etc.
  4. Change the return to a map of maps with logger as key and total and logs as key for the value to support pagination.
  5. Filter the record by level and logger name when adding the line to the logs.
stevehu added a commit that referenced this issue Feb 7, 2022
@stevehu stevehu closed this as completed in a29824e Feb 7, 2022
younggwon1 pushed a commit to younggwon1/light-4j that referenced this issue Feb 10, 2024
…map and h… (networknt#1103)

* fixes networknt#1102 update the LoggerGetLogContentHandler to return map and handle parsing exception

* change the return to map of maps and filter record by level and loggerName
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

1 participant