Removed attach on restart event

Removed attach on restart event, because when a docker container is restarted, it doubles up the log entries.