Skip to content

Commit

Permalink
Trace logs
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhjp committed Aug 25, 2023
1 parent afae395 commit 086dec4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions plugincontainer/container_runner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,12 @@ func TestExamplePlugin(t *testing.T) {
client := plugin.NewClient(&plugin.ClientConfig{
HandshakeConfig: shared.Handshake,
Plugins: shared.PluginMap,
Logger: hclog.Default().Named(t.Name()),
SkipHostEnv: true,
Logger: hclog.New(&hclog.LoggerOptions{
Name: t.Name(),
Level: hclog.Trace,
IncludeLocation: true,
}),
SkipHostEnv: true,
RunnerFunc: func(logger hclog.Logger, cmd *exec.Cmd, tmpDir string) (runner.Runner, error) {
cfg := &config.ContainerConfig{
Image: tc.image,
Expand Down

0 comments on commit 086dec4

Please sign in to comment.