Skip to content

refactor: improve log output in cleanup functions#663

Open
rohan-stepsecurity wants to merge 1 commit into
step-security:mainfrom
rohan-stepsecurity:main
Open

refactor: improve log output in cleanup functions#663
rohan-stepsecurity wants to merge 1 commit into
step-security:mainfrom
rohan-stepsecurity:main

Conversation

@rohan-stepsecurity
Copy link
Copy Markdown
Member

  • Grouped Logs: Agent, daemon, and service logs are now enclosed within core.startGroup() and core.endGroup() calls. This provides better organization and readability in the GitHub Actions logs.
  • Error Output: In the handleLinuxCleanup function, any stdout from an error during journalctl execution is now also logged, providing more context for debugging.

- **Grouped Logs:** Agent, daemon, and service logs are now enclosed
  within `core.startGroup()` and `core.endGroup()` calls. This provides
  better organization and readability in the GitHub Actions logs.
- **Error Output:** In the `handleLinuxCleanup` function, any `stdout`
  from an error during `journalctl` execution is now also logged,
  providing more context for debugging.
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.

1 participant