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

Server logs do not show uvicorn output #1006

Open
snoshy opened this issue Jul 18, 2023 · 1 comment
Open

Server logs do not show uvicorn output #1006

snoshy opened this issue Jul 18, 2023 · 1 comment
Labels
bug Something isn't working observability

Comments

@snoshy
Copy link
Contributor

snoshy commented Jul 18, 2023

mainly we're missing the http response codes for each request, since they're not logged. but we're also just missing all of uvicorn's log output. sample server log below:

2023-07-18 23:12:39,569  [INFO] sematic.api.server: Request end: 10.42.16.13 kube-probe/1.24+ GET /
2023-07-18 23:12:39,570  [INFO] sematic.api.server: Request end: 10.42.16.13 kube-probe/1.24+ GET /
2023-07-18 23:12:41,812 3e98013f5a2e32ac9c58f3029e554bfc [INFO] sematic.api.server: Request start: 10.42.35.232 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 GET /
2023-07-18 23:12:41,813 3e98013f5a2e32ac9c58f3029e554bfc [INFO] sematic.api.server: Request end: 10.42.35.232 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 GET /
2023-07-18 23:12:41,864 42f4dc1339ef2a2834f41177b8acc052 [INFO] sematic.api.server: Request start: 10.42.35.232 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 GET /static/css/main.a61dcf76.css
2023-07-18 23:12:41,865 42f4dc1339ef2a2834f41177b8acc052 [INFO] sematic.api.server: Request end: 10.42.35.232 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 GET /static/css/main.a61dcf76.css
2023-07-18 23:12:42,419 9dd9843192207fa69300e717ce1298c8 [INFO] sematic.api.server: Request start: 10.42.35.232 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 GET /static/js/main.1d10bfe0.js.map
2023-07-18 23:12:42,420 9dd9843192207fa69300e717ce1298c8 [INFO] sematic.api.server: Request end: 10.42.35.232 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 GET /static/js/main.1d10bfe0.js.map
2023-07-18 23:12:42,435 557ae9310 [INFO] sematic.api.server: Request start: 10.42.35.232 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 GET /authenticate
2023-07-18 23:12:42,435 557ae9310 [INFO] sematic.api.server: Request end: 10.42.35.232 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 GET /authenticate
2023-07-18 23:12:42,492 a8359ccfd [INFO] sematic.api.server: Request start: 10.42.35.232 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 GET /api/v1/runs?limit=1&filters=%7B%22AND%22%3A%5B%7B%22parent_id%22%3A%7B%22eq%22%3Anull%7D%7D%2C%7B%22user_id%22%3A%7B%22eq%22%3Anull%7D%7D%5D%7D
2023-07-18 23:12:42,496 a8359ccfd [INFO] sematic.api.server: Request end: 10.42.35.232 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 GET /api/v1/runs?limit=1&filters=%7B%22AND%22%3A%5B%7B%22parent_id%22%3A%7B%22eq%22%3Anull%7D%7D%2C%7B%22user_id%22%3A%7B%22eq%22%3Anull%7D%7D%5D%7D
2023-07-18 23:12:44,568  [INFO] sematic.api.server: Request start: 10.42.16.13 kube-probe/1.24+ GET /
2023-07-18 23:12:44,569  [INFO] sematic.api.server: Request end: 10.42.16.13 kube-probe/1.24+ GET /
@snoshy
Copy link
Contributor Author

snoshy commented Jul 18, 2023

@augray

@tscurtu tscurtu added bug Something isn't working observability labels Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working observability
Projects
None yet
Development

No branches or pull requests

2 participants