Added basic logging feature to understand how is configuration loaded

Hey, I cherry picked the change into version 2.0.

It looks like this branch is quite different, so rebasing did not made too much sense, nor the second commit in this case. But I think that all the logging part would be interesting to have in the configuration transformation part.