LionWeb-io / lionweb-repository

Reference implementation of LionWeb repository
Apache License 2.0
2 stars 1 forks source link

Structured logging #69

Closed joswarmer closed 1 week ago

joswarmer commented 1 week ago

Replaced logging by using pino, now we can use multiple log levels. Also the log output goes both to the console and to the file server-log.jsonl. In the file the format is NDJSON, and has some more fields, which are filtered from the console output top keep it (somewhat) readable.

Also using a Json file for all configuration options. See configuration.md.

@ftomassetti Can you take a look at the text about PGDATABASE in the configuration.md? Not sure it is still relevant.