-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add --log-config cmd line parameter to stator #674
base: main
Are you sure you want to change the base?
Conversation
Why introduce an ini file in the docker directory but not use it anywhere? |
because there is no start script provided? Where should the config file be? |
Well, I more mean that it's odd to check a default in but not have it used; you could either make it an example one not in the docker directory, place it next to the code and have it as a relative-path default, or include it in the documentation. |
Personally, I mount the config into the running container and then refer to it on the starting command line, because that allows me to tweak the config without rebuilding the image. That probably isn't what everyone wants to do, though.. |
Yeah, my deployment infra assumes that a redeploy means a new image. It's mostly a matter of personal taste I suspect. |
So what changes do you want to see, @andrewgodwin ? |
Well, if there's going to be a default config added to the docker image, I think the image should be set up to use that via environment variable or something. |
ref ab3648e#commitcomment-132861912
With this, it's possible to use the same logging config ini file for both the web and stator processes. Sample logging config included.