Icinga / docker-icingadb

GNU General Public License v2.0
3 stars 5 forks source link

Entrypoint logging should be configured properly #68

Open julianbrost opened 7 months ago

julianbrost commented 7 months ago

Currently, the entrypoint simply uses the development config from the zap package:

https://github.com/Icinga/docker-icingadb/blob/506466c2320a0f223627da842f4a7a97f08e21ac/entrypoint/main.go#L29

This seems to log more stack traces than necessary, for example when warnings are logged when connections to the database are retried.

refs https://github.com/Icinga/docker-icingadb/pull/67#pullrequestreview-1994180325

Al2Klimov commented 7 months ago

Not quite correct, but also not dramatic. Let's wait until we get config-via-env, so Icinga DB becomes its own entry point.