feat: add json log format option

Add log_format config field ("text" default, "json" for structured
JSON output) to support machine-readable logging.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-14 16:45:38 +01:00
parent a40110f2f5
commit 3ebf88fb3e
3 changed files with 14 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
log_level = "info"
log_format = "text" # "text" or "json"
[ssh]
listen_addr = ":2222"