Moved logging switch to app.config property.