-
Notifications
You must be signed in to change notification settings - Fork 179
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
LoggerMiddleware not outputting anything #276
Comments
can you try with |
same thing:
|
@vincentsarago what do you think about this fix?
|
@drnextgis I think this is a Uvicorn bug. The current implementation works fine when not using uvicorn (e.g. in AWS Lambda) I've been able to print the logs by using a config file version: 1
disable_existing_loggers: False
formatters:
console:
format: "%(levelname)s\t%(name)s\t%(message)s"
handlers:
console:
class: logging.StreamHandler
formatter: console
stream: ext://sys.stderr
level: 0
root:
handlers: [ console ]
level: 0
ref: encode/uvicorn#944 I'm going to close this issue because I believe this is not related to TiTiler itself. |
When I run titiler with debug enabled:
I expect to see something printed in stdout but there is nothing.
The text was updated successfully, but these errors were encountered: