Logger now has an option to switch recording of log messages.