Updated Logger to log messages to files and console well.