CERT-Polska / karton

Distributed malware processing framework based on Python, Redis and S3.
https://karton-core.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
381 stars 45 forks source link

Introduce karton debug #220

Closed nazywam closed 1 year ago

nazywam commented 1 year ago

The karton debug mode helps with developing karton services while connected to the production karton network. It does that by:

The debug mode works as any other karton configuartion and can be set by:

msm-code commented 1 year ago

appending a random suffix to the karton service identity to avoid disrupting production services

Random suffix as well as -dev. It's nice to see immediately which services are the dev ones. But I see the code already does that.

setting the env value KARTON_KARTON_DEBUG=1

A bit uglier than just KARTON_DEBUG but I understand this is consistent with other config variables. So makes sense I guess.