Fixed incorrect Logger initialization.