Logger - Configuration should be uniform #305
maxim-kuderko
started this conversation in
Ideas
Replies: 2 comments
-
Also if we do decide we'll only have a handfull of drivers we don't need complex files anyways |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Right now there are 3 ways to configure currielogger:
env vars, flags & files, I'd suggest that for simplicity and ease of use we'll choose one and expand in the future if necessary as it makes it harder to configure and use the service and not easier
Because we are running cloud native I'd suggest going forward with ENV vars as it would integrate seamlessly with k8s configs and it's also supported outside of cloud environments.
running logger in command line with env vars is also possible by pre-pending the key,vals before the binary execution making it the same as flags
ELASTICSEARCH_ENABLED=true ./curielogger
instead of
./curielogger -enable_elasticsearch=true
Beta Was this translation helpful? Give feedback.
All reactions