question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support a gunicorn-like config file

See original GitHub issue

Hi all,

just few question:

  • is there a way to pass a config.py like in gunicorn?
  • how can I override logging in uvicorn?
    • in gunicorn I can pass a custom logging dictionary with my custom formatters, etc…

Thanks!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
tomchristiecommented, Oct 22, 2019

Having taken a look at this. Yes. And yes, let’s make it gunicorn-like - they get it right. #323 is almost there, just needs a tweak.

1reaction
Hanaasagicommented, Oct 10, 2019

There is a related PR https://github.com/encode/uvicorn/pull/323 about reading config from a file, though it is not gunicorn-like.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is configuration file? | Definition from ...
A configuration file, often shortened to config file, defines the parameters, options, settings and preferences applied to operating systems (OSes), ...
Read more >
configparser — Configuration file parser
Support for creating Unix shell-like mini-languages which can also be used for application configuration files. Module json. The json module implements a subset ......
Read more >
Azure App Configuration support for configuration files
Tooling support for using configuration files with Azure App Configuration.
Read more >
Work with configuration files - Google Workspace Admin Help
In Configuration Manager, you can start new configuration files to store Google Cloud Directory Sync (GCDS) synchronization settings.
Read more >
Supported Config Files - isort
When applying configurations, isort looks for the closest supported config file, in the order files are listed below. You can manually specify the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found