oracledb_exporter
oracledb_exporter copied to clipboard
BUG: Structured logging in Golang
Hi @Yannig, you did a PR where logger was changed: https://github.com/iamseth/oracledb_exporter/pull/243/files Old logs looks like:
New implementation in latest build:
Please note that all logs lack of whitespaces

I suggest to use json formatted log in PRODUCTION profile and switch to most popular top go loggers. I like https://github.com/sirupsen/logrus.
TIA, Regards, Viktor.
Hi @vutkin
Do you think we can close this issue?
Regards
Now latest release looks good, if don't need structured logs in json, so make sense to close it.
In fact, it can make sense to have a JSON output.
I let this issue open for the moment and I will try to improve logger if I have time.