implement new logging system for annotate tool