Conpot is a third-party app with its own Python logger — it never calls decnet_logging. Added entrypoint.py as a subprocess wrapper that: - Launches conpot and captures its stdout/stderr - Classifies each line (startup/request/warning/error/log) - Extracts source IPs via regex - Emits RFC 5424 syslog lines to stdout for Docker/collector pickup Entrypoint is self-contained (no import of shared decnet_logging.py) because the conpot base image runs Python 3.6, which cannot parse the dict[str, Any] / str | None type syntax used in the canonical file.
1.4 KiB
1.4 KiB