Working logging implementation
Fixing logger reconfiguration