Skip to content

fix: improve server connection logging - #3

Closed
saoud-mohamed wants to merge 1 commit into
OpenSelfHosting:mainfrom
saoud-mohamed:fix/serverconnection
Closed

saoud-mohamed wants to merge 1 commit into
OpenSelfHosting:mainfrom
saoud-mohamed:fix/serverconnection

Conversation

@saoud-mohamed

Copy link
Copy Markdown

Summary

Improve server connection debugging for the OpenKey server.

Changes

  • Enabled Uvicorn access logging.
  • Set Uvicorn logging level to debug.
  • Makes incoming API requests easier to inspect when debugging communication between the OpenKey browser extension and the server.

Testing

  • Verified the API starts successfully with Docker Compose.
  • Verified /health returns 200 OK.
  • Verified the PostgreSQL database connection is healthy.
  • Verified the /sync CORS preflight request works correctly.
  • Verified /sync returns 401 Unauthorized when an invalid token is provided.

Scope

This change only updates the Uvicorn logging configuration in the Dockerfile.
No API, authentication, or database logic was changed.

@saoud-mohamed saoud-mohamed closed this by deleting the head repository Oct 9, 2026
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

Successfully merging this pull request may close these issues.

1 participant