Corrected two minor bugs in logger (typos)