Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion backend/app/logging/setup_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,9 @@ def emit(self, record: logging.LogRecord) -> None:
"""
# Get the appropriate module name
module_name = record.name
if "." in module_name:
if module_name.startswith("uvicorn"):
module_name = "uvicorn"
elif "." in module_name:
module_name = module_name.split(".")[-1]

# Create a message that includes the original module in the format
Expand Down
113 changes: 0 additions & 113 deletions docs/backend/backend_python/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2073,119 +2073,6 @@
],
"title": "DeleteFoldersResponse"
},
"app__schemas__folders__ErrorResponse": {
"properties": {
"success": {
"type": "boolean",
"title": "Success",
"default": false
},
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Message"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Error"
}
},
"type": "object",
"title": "ErrorResponse"
},
"app__schemas__face_clusters__ErrorResponse": {
"properties": {
"success": {
"type": "boolean",
"title": "Success",
"default": false
},
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Message"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Error"
}
},
"type": "object",
"title": "ErrorResponse"
},
"app__schemas__images__ErrorResponse": {
"properties": {
"success": {
"type": "boolean",
"title": "Success",
"default": false
},
"message": {
"type": "string",
"title": "Message"
},
"error": {
"type": "string",
"title": "Error"
}
},
"type": "object",
"required": [
"message",
"error"
],
"title": "ErrorResponse"
},
"app__schemas__user_preferences__ErrorResponse": {
"properties": {
"success": {
"type": "boolean",
"title": "Success"
},
"error": {
"type": "string",
"title": "Error"
},
"message": {
"type": "string",
"title": "Message"
}
},
"type": "object",
"required": [
"success",
"error",
"message"
],
"title": "ErrorResponse",
"description": "Error response model"
},
"FaceSearchRequest": {
"properties": {
"path": {
Expand Down
4 changes: 3 additions & 1 deletion sync-microservice/app/logging/setup_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,9 @@ def emit(self, record: logging.LogRecord) -> None:
"""
# Get the appropriate module name
module_name = record.name
if "." in module_name:
if module_name.startswith("uvicorn"):
module_name = "uvicorn"
elif "." in module_name:
module_name = module_name.split(".")[-1]

# Create a message that includes the original module in the format
Expand Down
Loading