Close the logging handler correctly when reloading the configuration.
Hopefully this addresses the first part of the "Too many open files" problem.
Authored by: jonas 2008-04-27
Parent: [r6891]
Child: [r6893]