Skip to content

Conversation

@rroberts2222
Copy link
Contributor

Description

On windows blackbox was preventing log rotation when configured with invalid syslog credentials as it was locking the file while trying to endlessly reconnect. This change makes it so that blackbox exits which unlocks the file and indicates that the config is invalid.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Testing performed?

  • Unit tests
  • Integration tests
  • Acceptance tests

Checklist:

  • This PR is being made against the main branch, or relevant version branch
  • I have made corresponding changes to the documentation
  • I have added testing for my changes

If you have any questions, or want to get attention for a PR or issue please reach out on the #logging-and-metrics channel in the cloudfoundry slack

On windows blackbox was preventing log rotation when configured with invalid
syslog credentials as it was locking the file while trying to endlessly reconnect.
This change makes it so that blackbox exits which unlocks the file and indicates
that the config is invalid.

Signed-off-by: Andrew Crump <[email protected]>
@ctlong ctlong self-assigned this Apr 25, 2024
@ctlong ctlong merged commit 62a831c into cloudfoundry:main Apr 25, 2024
@ctlong ctlong deleted the connection-max-retries branch April 25, 2024 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants