commands, log as info
This commit is contained in:
parent
e51d10b267
commit
cd4477b655
@ -14,7 +14,7 @@ type PluginBuilder struct {
|
|||||||
|
|
||||||
func NewPluginBuilder(p Plugin) *PluginBuilder {
|
func NewPluginBuilder(p Plugin) *PluginBuilder {
|
||||||
logger := hclog.New(&hclog.LoggerOptions{
|
logger := hclog.New(&hclog.LoggerOptions{
|
||||||
Level: hclog.Error,
|
Level: hclog.Info,
|
||||||
Output: os.Stderr,
|
Output: os.Stderr,
|
||||||
JSONFormat: false,
|
JSONFormat: false,
|
||||||
})
|
})
|
||||||
|
@ -82,7 +82,7 @@ func (pr *PluginRegisterBuilder) Build(ctx context.Context) (*PluginRegister, er
|
|||||||
Logger: hclog.New(&hclog.LoggerOptions{
|
Logger: hclog.New(&hclog.LoggerOptions{
|
||||||
Name: "char",
|
Name: "char",
|
||||||
Output: os.Stdout,
|
Output: os.Stdout,
|
||||||
Level: hclog.Error,
|
Level: hclog.Info,
|
||||||
}),
|
}),
|
||||||
Cmd: exec.Command(
|
Cmd: exec.Command(
|
||||||
fmt.Sprintf(
|
fmt.Sprintf(
|
||||||
|
Loading…
Reference in New Issue
Block a user