Fix the logging classes