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

JSON format logs not searchable / display strangely in log viewer #8787

Closed
WaysonWei opened this issue Apr 13, 2023 · 0 comments · Fixed by #8482
Closed

JSON format logs not searchable / display strangely in log viewer #8787

WaysonWei opened this issue Apr 13, 2023 · 0 comments · Fixed by #8482
Labels
Milestone

Comments

@WaysonWei
Copy link
Collaborator

WaysonWei commented Apr 13, 2023

Description
With the new formatting / “prettification” feature for our log viewer in 2.16, logs that are JSON-formatted from the source are not able to be reliably searched and in some cases some elements of the log file are hidden by the formatting. This appears to be a result of the log viewer “parsing” the JSON in the log file provided by the container.

Steps to reproduce

  • Create a container that logs in JSON format (for example, mongo:latest)
  • Examine the log output for the container via Container details > Logs
  • Compare to the output of docker logs container_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant