Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable process debug logging #3134

Merged
merged 2 commits into from
Dec 18, 2024
Merged

Enable process debug logging #3134

merged 2 commits into from
Dec 18, 2024

Conversation

patrobinson
Copy link
Contributor

Description

A long long time ago, in a galaxy far far away, the process debug logging was disabled
146c68e

We currently don't pass the agentLogger object into Shell, so I can't easily use the existing logger. So we create one in using plain text mode. Suggestions welcome on how to do that.

Context

Changes

Enable process logging in debug mode.

Testing

  • Tests have run locally (with go test ./...). Buildkite employees may check this if the pipeline has run automatically.
  • Code is formatted (with go fmt ./...)

Copy link
Contributor

@DrJosh9000 DrJosh9000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One change, otherwise LGTM

internal/shell/shell.go Outdated Show resolved Hide resolved
We currently don't pass the agentLogger object into Shell, so I can't easily use the existing logger.
So we create one in using plain text mode
@patrobinson patrobinson force-pushed the enable-process-debug-logging branch from 5332a97 to 3bdc5a6 Compare December 17, 2024 06:21
@patrobinson patrobinson marked this pull request as ready for review December 17, 2024 06:22
@DrJosh9000 DrJosh9000 merged commit 818b12e into main Dec 18, 2024
1 check passed
@DrJosh9000 DrJosh9000 deleted the enable-process-debug-logging branch December 18, 2024 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants