Finished the new logging framework.