Use the correct class for the logging