Skip to content
Select documentation version
Navigation
On this page

Logging

Configures the logger, see the runtime documentation.

Query Logging

Enable detailed query logging by setting the log level to trace. This is especially useful during development for monitoring the queries executed against the database:

[12:09:13.810] INFO (platformatic-db/9695): incoming request
[12:09:13.819] TRACE (platformatic-db/9695): query
  query: {
    "text": "SELECT \"id\", \"title\"\n FROM \"movies\"\nLIMIT ?"
  }
[12:09:13.820] INFO (platformatic-db/9695): request completed
  responseTime: 10.350167274475098

Issues

If you run into a bug or have a suggestion for improvement, please raise an issue on GitHub.

Reading time
1 min read
View as
Markdown
Contribute
Edit this page