updated logger file so it logs a string.