Setup log/error files before calling error(...) in judgedaemon.