commands, log as info

This commit is contained in:
Kasper Juul Hermansen 2022-11-05 23:23:57 +01:00
parent e51d10b267
commit cd4477b655
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ type PluginBuilder struct {
func NewPluginBuilder(p Plugin) *PluginBuilder {
logger := hclog.New(&hclog.LoggerOptions{
Level: hclog.Error,
Level: hclog.Info,
Output: os.Stderr,
JSONFormat: false,
})

View File

@ -82,7 +82,7 @@ func (pr *PluginRegisterBuilder) Build(ctx context.Context) (*PluginRegister, er
Logger: hclog.New(&hclog.LoggerOptions{
Name: "char",
Output: os.Stdout,
Level: hclog.Error,
Level: hclog.Info,
}),
Cmd: exec.Command(
fmt.Sprintf(