Skip to content

feat(cli): Add Log Filters to TUI#184

Open
sambukowski wants to merge 4 commits into
mainfrom
sb/log-filters
Open

feat(cli): Add Log Filters to TUI#184
sambukowski wants to merge 4 commits into
mainfrom
sb/log-filters

Conversation

@sambukowski

@sambukowski sambukowski commented Feb 26, 2025

Copy link
Copy Markdown
Contributor

Logs within the cli TUI can now be filtered using regex.
Specific filters for all known services and one filter for generic services have been added.
The current filter is also displayed in the info box on the fullscreen view.

closes #163

@sambukowski sambukowski marked this pull request as ready for review February 26, 2025 21:25
Comment thread modules/cli/README.md
version = 'v0.0.0'
download_url = 'download url to the release'
local_path = '<your home directory>/.astria/default/bin/<your_service_name-version>'
local_path = '~.astria/default/bin/<your_service_name-version>'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing a slash I think

DefaultBorderColor = "gray"
DefaultMaxUiLogLines = 1000
DefaultRollupPort = "8546"
DefaultLogFilter = ".*"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would DefaultLogFilterPattern be more descriptive?

@steezeburger

Copy link
Copy Markdown
Contributor

Is this only settable through the config file? I think ideal ux would be like a search bar. Wouldn't you need to stop/restart to change the filter pattern?

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.

Add ability to filter service logs within to TUI

2 participants