Skip to content
New issue

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

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

Already on GitHub? # to your account

[Feature] Improve Application Log Management with Log Level Filtering and Search Functionality #7451

Open
guqing opened this issue Dec 19, 2024 · 1 comment
Assignees

Comments

@guqing
Copy link

guqing commented Dec 19, 2024

1Panel Version

v1.10.22-r2-alpha.19

Please describe your needs or suggestions for improvements

Currently, the application log management feature in 1Panel is quite basic and lacks flexibility in filtering, searching, and organizing logs, especially when dealing with large volumes of log data. It is suggested to add log level filtering (such as debug, warn, error, etc.) and a search feature to enhance the usability and user experience of log management.

截屏2024-12-20 00 51 40

Please describe the solution you suggest

  1. Log Level Filtering:

    • Support common log levels such as debug, warn, error, etc., to easily filter logs by their severity.
    • Allow users to quickly identify and focus on specific log levels for better troubleshooting.
  2. Log Search Functionality:

    • Provide a search bar that allows users to search for specific keywords within the logs.
    • Support filtering by time range, log level, and other criteria to refine search results and make log searching more efficient.
  3. Log Pagination and Infinite Scroll:

    • When there is a large volume of logs, implement pagination or infinite scroll to prevent loading excessive data at once, which could cause the panel to lag or slow down.

Additional Information

  • The implementation of this feature can be inspired by log level filtering and search functionalities found in platforms like Vercel.
  • It is recommended to add filters or dropdown menus in the log management interface to allow quick switching between different log levels.

Expected Outcome:

  • Enhance the efficiency of log management, especially when dealing with large volumes of logs, by allowing users to easily filter and view relevant entries.
  • Users can quickly identify issues by filtering logs by severity and focus on specific log levels, which helps in problem-solving.
  • Improve the overall usability of the panel and provide better support for developers, especially during debugging and troubleshooting.
@wanghe-fit2cloud
Copy link
Member

Thanks for your feedback. We will consider the above suggestions in future versions and continue to optimize.

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

No branches or pull requests

2 participants