Remove unused namespace
Readability.  Also explicit feedback on config fallback.
More explicit feedback
Consolidate log munging to one place

I mean, if you are going to munge, munge DRYly.

More likely the logger.level should come from config, or just rely on
the default that depends on environment.
2 second sleep during restart between stop and start

I'm pretty sure only one version of these tasks needs to exist, since
the second could just point back to the first.