New logging implementation. CfOut and cfPS are hooked as well