message-handler: remove log argument from factory constructor