Faster implementation of log_tag_config_tree

The following discussion from !160 (merged) should be addressed: