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

logger: fix file open issue if crypto algorithm is disabled #857

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jnippula
Copy link

Create empty file even if crypto key is not stored into the beginning of the log file to allow file logger to always append log data into existing file.

Create empty file even if crypto key is not stored into the beginning
of the log file to allow file logger to always append log data into
existing file.
@jnippula jnippula requested review from kordets and jlaitine December 27, 2024 10:23
Copy link

@jlaitine jlaitine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks a bit weird, is it so that the file might be created in two places?

Copy link

@jlaitine jlaitine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is, should we really just push the key to the _buffers and let the file creation be only there?

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