Skip to content

Commit

Permalink
A few more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaMahany committed Jul 26, 2024
1 parent b6a508c commit 95342ee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/osquery/runtime/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,9 @@ func (r *Runner) launchOsqueryInstance() error {
return fmt.Errorf("could not create an extension client: %w", err)
}
span.AddEvent("extension_client_created")
r.slogger.Log(ctx, slog.LevelDebug,
"osquery extension client created",
)

if len(o.opts.extensionPlugins) > 0 {
if err := o.StartOsqueryExtensionManagerServer("kolide_grpc", paths.extensionSocketPath, o.extensionManagerClient, o.opts.extensionPlugins); err != nil {
Expand All @@ -480,6 +483,9 @@ func (r *Runner) launchOsqueryInstance() error {
}
span.AddEvent("extension_server_created")
}
r.slogger.Log(ctx, slog.LevelDebug,
"osquery extension manager server created",
)

// Now spawn an extension manager for the tables. We need to
// start this one in the background, because the runner.Start
Expand Down

0 comments on commit 95342ee

Please sign in to comment.