I think @Greebo might have said this directive is not fully operational in some distros’s
But can we not just use std redirection as part of the ExecStart=
command?
EG emonhub already has a --logfile
commandline option for this purpose so if the command in the service unit was
ExecStart=/usr/share/emonhub/emonhub.py --config-file=/home/pi/data/emonhub.conf --logfile=/var/log/emonhub/emonhub.log
instead of
ExecStart=/usr/share/emonhub/emonhub.py --config-file=/home/pi/data/emonhub.conf
normal logging would be resumed despite the move to a systemd unit.