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

Directly log rsync error output. #920

Merged
merged 3 commits into from Jan 16, 2024
Merged

Directly log rsync error output. #920

merged 3 commits into from Jan 16, 2024

Conversation

partim
Copy link
Member

@partim partim commented Jan 11, 2024

This PR changes the rsync collector to directly log all stderr output from the rsync command rather than collecting it and then blasting it out all at once which can cause issues with the syslog daemon on some systems.

@partim partim requested a review from a team January 11, 2024 15:02
@partim partim linked an issue Jan 11, 2024 that may be closed by this pull request
src/collector/rsync.rs Outdated Show resolved Hide resolved
@partim partim requested a review from ximon18 January 15, 2024 15:53
@partim partim merged commit b103eff into series-0.13 Jan 16, 2024
10 checks passed
@partim partim deleted the 0.13-rsync-stderr-fix branch January 16, 2024 08:56
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Jan 25, 2024
Pkgsrc changes:
 * Bump version & re-compute cargo-depends.

Upstream changes:

New

* Added support for private keys marked as "EC PRIVATE KEY" in the
  PEM files for TLS server configuration. ([#921])
* The rsync collector now logs stderr output of the rsync command
  directly instead of collecting it and logging it in one go after
  the commend returned. ([#290])

Bug Fixes

* The `dump` command will now succeed even if certain directories
  or files in the repository cache are missing. ([#916])
* A more meaningful message is now printed when decoding RPKI
  objects fails. It will still not give much detail but at least it
  isn't confusing any more. ([#917])

Other changes

* Updated the `nlnetlabs-testbed` TAL to the current location and
  key. ([#922])

[#916]: NLnetLabs/routinator#916
[#917]: NLnetLabs/routinator#917
[#920]: NLnetLabs/routinator#920
[#921]: NLnetLabs/routinator#921
[#922]: NLnetLabs/routinator#922
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don’t log rsync output all in one go.
2 participants