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

Add option to print raw logs from search results. #625

Closed
gibber9809 opened this issue Dec 6, 2024 · 0 comments · Fixed by #641
Closed

Add option to print raw logs from search results. #625

gibber9809 opened this issue Dec 6, 2024 · 0 comments · Fixed by #641
Assignees
Labels
enhancement New feature or request

Comments

@gibber9809
Copy link
Contributor

Request

Right now the search script in the package will output logs in the format :raw_log when returning logs from clp-json.

Having a --raw-log option that removes the preceding colon and emits the logs as ndjson would make it easier to use the output from search without first having to parse it.

Possible implementation

  1. Add a --raw-log option to the search script.
  2. When emitting search results to stdout with the raw-log option enabled print them verbatim instead of prefixing them with :
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant