10000 Fix messy log truncations by macifell · Pull Request #41 · pimoroni/phew · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix messy log truncations #41

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

Closed
wants to merge 1 commit into from

Conversation

macifell
Copy link
@macifell macifell commented Feb 7, 2023

The reverse search was going from the end of the file to discard pointer, which is the same range that is covered by the forward search. This sets the start of the reverse search to be the start of the chunk.

Without this change I was seeing the log file frequently start with a partial line.

@ccrighton
Copy link
ccrighton commented Jun 27, 2024

I've reviewed this PR. It does improve the log truncation but unfortunately, does not behave as expected or consistently. I've created #62 to resolve the issues.

@macifell
Copy link
Author

I'm closing this as #62 is a more comprehensive solution.

@macifell macifell closed this Jun 27, 2024
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
0