Fix logger config break when using deprecated opts
Merge pull request #897 from kavika13/patch-2

Fix logger config break when using deprecated opts