diff --git a/selfie-ui/src/app/favicon.ico b/selfie-ui/src/app/favicon.ico index 718d6fe..e85bad7 100644 Binary files a/selfie-ui/src/app/favicon.ico and b/selfie-ui/src/app/favicon.ico differ diff --git a/selfie-ui/src/app/layout.tsx b/selfie-ui/src/app/layout.tsx index 5bb547e..3657e1d 100644 --- a/selfie-ui/src/app/layout.tsx +++ b/selfie-ui/src/app/layout.tsx @@ -11,8 +11,8 @@ import React from 'react' import { Providers } from './providers' export const metadata: Metadata = { - title: 'Home', - description: 'Welcome to Selfie', + title: 'Selfie', + description: 'Welcome to Selfie', } export default function Layout({ children }: { children: React.ReactNode }) { diff --git a/selfie/__main__.py b/selfie/__main__.py index e7dea06..6120221 100644 --- a/selfie/__main__.py +++ b/selfie/__main__.py @@ -104,8 +104,8 @@ def start_fastapi_server(): } uvicorn_log_config["formatters"]["default"] = { - "class": "uvicorn.logging.DefaultFormatter", "fmt": "%(asctime)s - %(name)s - %(levelname)s - %(message)s", + "datefmt": "%Y-%m-%d %H:%M:%S", "use_colors": False, } @@ -126,11 +126,18 @@ def start_fastapi_server(): "propagate": False, } - uvicorn_log_config["loggers"]["uvicorn.*"] = { + uvicorn_log_config["loggers"]["uvicorn.error"] = { "handlers": ["selfie", "console"], "level": "INFO", "propagate": False, } + + uvicorn_log_config["loggers"]["uvicorn.access"] = { + "handlers": ["selfie", "console"], + "level": "INFO", + "propagate": False, + "formatter": "access", + } # Start Uvicorn with the modified log config uvicorn.run(fastapi_app, host="0.0.0.0", port=args.port, log_config=uvicorn_log_config)