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

chore: cherry pick log bugfix #1865

Merged
merged 1 commit into from
Jan 16, 2025
Merged

chore: cherry pick log bugfix #1865

merged 1 commit into from
Jan 16, 2025

Conversation

vansangpfiev
Copy link
Contributor

Describe Your Changes

This pull request includes a change to the engine/utils/file_logger.cc file to modify the file opening mode in the FileLogger::CircularLogFile::OpenFile method.

File opening mode change:

  • engine/utils/file_logger.cc: Changed the file opening mode from "r+" to "a+" in the FileLogger::CircularLogFile::OpenFile method to ensure that the file is opened for appending and reading, rather than reading and writing. This change affects both Windows and non-Windows platforms.

Fixes Issues

  • Closes #
  • Closes #

Self Checklist

  • Added relevant comments, esp in complex areas
  • Updated docs (for bug fixes / features)
  • Created issues for follow-up changes or refactoring needed

Co-authored-by: vansangpfiev <[email protected]>
@vansangpfiev vansangpfiev merged commit 0746ec9 into main Jan 16, 2025
5 of 6 checks passed
@vansangpfiev vansangpfiev deleted the chore/cherry-pick-log-fix branch January 16, 2025 06:03
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