Changed the logging system to the new apache logging.