plugin: fix plugin restart
plugin/logger: fix query selection
plugin/regex: add regex plugin