Fixed bug that log instance was not submitted to plugins