MDL-40908 core_tag: removed 'flag' add_to_log call