Implement switches to switch logging on and off, also to disable the event_scheduler delay and scheduled events.