Implement new logging system.