Making logging programatically configurable.