logger: Add an enable toggle for entry storage (AndreiLux)