Hopefully fixed the log output.