Add log message and multi-tag support