Fixed #23569 -- Allow use fileConfig() in logging