logging: merged duplicated code in fileConfig and dictConfig paths.
logging: merged duplicated code in fileConfig and dictConfig paths.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator