So we have an expert opinion (https://mailman.boum.org/pipermail/tails-dev/2015-March/008461.html) on control-port-filter in Whonix. It looks like we could work on improving cpfp.py.
I was expecting some of the points (especially the depth of if's in the configuration file parsing). I'll see to that point by point.
About logging, would it be an advantage to use syslog or systemd journal instead of a dedicated log file? For debugging, it seems better to keep it separate.