add logging to pdnsd