Adding logging state variable to LoggerMap.java for use in the record activity