mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-13 09:30:45 +08:00
feat: unify runtime logging (rotating files, log root, scripts, desktop)
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
86d4bad107
commit
1490bd5f24
25 changed files with 541 additions and 53 deletions
|
|
@ -337,4 +337,9 @@ def run_worker() -> int:
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from svc.config.bootstrap_env import load_system_env
|
||||
from svc.observability.logging_setup import configure_oclaw_logging
|
||||
|
||||
load_system_env()
|
||||
configure_oclaw_logging(service_name="wiki-worker", include_uvicorn_formatters=False)
|
||||
raise SystemExit(run_worker())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue