Skip to content
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

Make it possible to have a custom logconfig #208

Open
Glutexo opened this issue Apr 17, 2019 · 0 comments
Open

Make it possible to have a custom logconfig #208

Glutexo opened this issue Apr 17, 2019 · 0 comments

Comments

@Glutexo
Copy link
Collaborator

Glutexo commented Apr 17, 2019

Getting logging configuration file name from an environment variable would allow using a custom configuration on local development. Like that, editing the checked-in logconfig.ini would be no longer necessary and these modified files would get accidentally committed. That already happened a few times.

This environment variable would be loaded by the run_gunicorn.py script. It’d default to the current logconfig.ini.

It’s possible to use the INVENTORY_LOGGING_CONFIG_FILE variable name already mentioned in the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant