One last error fix in logger.js