cf-dc-api.pl: another logging fix