Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

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 <sang@jan.ai>
@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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants