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

Option to render query logs in multiple lines #659

Open
MartinaDimova opened this issue May 17, 2023 · 1 comment
Open

Option to render query logs in multiple lines #659

MartinaDimova opened this issue May 17, 2023 · 1 comment

Comments

@MartinaDimova
Copy link

Description

Query logging, prints one-line JSON objects into the standard output.

Suggestion for upgrading into extendable query logging functionality so standard output can be properly captured in the main log.

@bcogrel
Copy link
Member

bcogrel commented Oct 15, 2023

I personally appreciate having the JSON rendered in one line, as it makes very easy to copy and study in a separate tool, like https://jqplay.org/ .

An option could be added to Ontop to render the JSON differently, for those who prefer only reading from the log.

@bcogrel bcogrel changed the title Poorly query logging configuration. Option to render query logs in multiple lines Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants