mirror of
https://github.com/Pythagora-io/gpt-pilot.git
synced 2026-01-09 21:27:53 -05:00
Merge pull request #237 from Pythagora-io/feature/move-pythagora-log-to-data-for-backups
Move pythagora.log to data dir
This commit is contained in:
@@ -107,7 +107,7 @@
|
||||
"log": {
|
||||
"level": "DEBUG",
|
||||
"format": "%(asctime)s %(levelname)s [%(name)s] %(message)s",
|
||||
"output": "pythagora.log"
|
||||
"output": "data/pythagora.log"
|
||||
},
|
||||
"db": {
|
||||
"url": "sqlite+aiosqlite:///data/database/pythagora.db",
|
||||
|
||||
@@ -220,7 +220,7 @@ class LogConfig(_StrictModel):
|
||||
description="Logging format",
|
||||
)
|
||||
output: Optional[str] = Field(
|
||||
"pythagora.log",
|
||||
"data/pythagora.log",
|
||||
description="Output file for logs (if not specified, logs are printed to stderr)",
|
||||
)
|
||||
max_lines: int = Field(
|
||||
|
||||
Reference in New Issue
Block a user