(simulator) Restore log levels at the end of simulation