fix: remove duplicate print() in _log() across all service templates

Every service's _log() called print() then write_syslog_file() which also
calls print(), causing every log line to appear twice in Docker logs. The
collector streamed both copies, doubling ingested events. Removed the
redundant print() from all 22 service server.py files.
This commit is contained in:
2026-04-14 00:16:18 -04:00
parent b71db65149
commit 8335c5dc4c
22 changed files with 0 additions and 22 deletions

View File

@@ -161,7 +161,6 @@ _BAIT_EMAILS: list[str] = [
def _log(event_type: str, severity: int = 6, **kwargs) -> None:
line = syslog_line(SERVICE_NAME, NODE_NAME, event_type, severity, **kwargs)
print(line, flush=True)
write_syslog_file(line)
forward_syslog(line, LOG_TARGET)