Adding logging to simulation module.