mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2025-08-26 16:40:40 +03:00
Merge remote-tracking branch 'origin/198-add-simple-caching' into 198-add-simple-caching
This commit is contained in:
commit
289883cf2e
@ -76,7 +76,7 @@ class AppStructLogger(metaclass=SingletonMetaNoArgs):
|
||||
_log_path = Path(f"{_log_date}_{os.getpid()}.log")
|
||||
_handler = RotatingFileHandler(
|
||||
filename=_log_path,
|
||||
maxBytes=1000,
|
||||
maxBytes=10 * 1024 * 1024, # 10MB
|
||||
backupCount=5,
|
||||
encoding="utf-8"
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user