From cd4477b6554d04bed7eaa23043acfb13253b3a57 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sat, 5 Nov 2022 23:23:57 +0100 Subject: [PATCH] commands, log as info --- pkg/register/plugin_builder.go | 2 +- pkg/register/plugin_register.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/register/plugin_builder.go b/pkg/register/plugin_builder.go index 40788ed..094f55b 100644 --- a/pkg/register/plugin_builder.go +++ b/pkg/register/plugin_builder.go @@ -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, }) diff --git a/pkg/register/plugin_register.go b/pkg/register/plugin_register.go index 2e8b67e..1ddd178 100644 --- a/pkg/register/plugin_register.go +++ b/pkg/register/plugin_register.go @@ -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(