Logging is being applied to everything instead of just gunicorn/uvicorn #48
-
I'm not completely aware of the flow here but I'm using Fastapi+Uvicorn+Gunicorn with inboard. However, every log from gunicorn/my app/uvicorn is being duplicated, what's the purpose of having |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
inboard propagates FastAPI, Gunicorn, and Uvicorn log streams to the root logger, so that all the log streams can be handled by the same logging config. If you don't like inboard's logging behavior, you can modify it, or override it completely. See the logging docs for more info and examples. If you are seeing duplicate log messages, there may be something project-specific that is contributing. Do you have any other loggers or logging configs in the project? |
Beta Was this translation helpful? Give feedback.
inboard propagates FastAPI, Gunicorn, and Uvicorn log streams to the root logger, so that all the log streams can be handled by the same logging config.
If you don't like inboard's logging behavior, you can modify it, or override it completely. See the logging docs for more info and examples.
If you are seeing duplicate log messages, there may be something project-specific that is contributing. Do you have any other loggers or logging configs in the project?