Fix Logging Handler