Re-initialize logging if Environment changed settings

Fixes gh-273