Use tftpd_log instead of that hacked up if to log test messages