MM-48988 Log plugins version on install and on startup (#21907)
Этот коммит содержится в:
@@ -402,6 +402,8 @@ func (ch *Channels) installExtractedPlugin(manifest *model.Manifest, fromPluginD
|
|||||||
manifest = updatedManifest
|
manifest = updatedManifest
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mlog.Debug("Installing plugin", mlog.String("plugin_id", manifest.Id), mlog.String("version", manifest.Version))
|
||||||
|
|
||||||
return manifest, nil
|
return manifest, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -330,6 +330,8 @@ func (env *Environment) Activate(id string) (manifest *model.Manifest, activated
|
|||||||
return nil, false, fmt.Errorf("unable to start plugin: must at least have a web app or server component")
|
return nil, false, fmt.Errorf("unable to start plugin: must at least have a web app or server component")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mlog.Debug("Plugin activated", mlog.String("plugin_id", pluginInfo.Manifest.Id), mlog.String("version", pluginInfo.Manifest.Version))
|
||||||
|
|
||||||
return pluginInfo.Manifest, true, nil
|
return pluginInfo.Manifest, true, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user