Skip to content

archive log files in main and renderer process after certain size #359

Answered by megahertz
arunbansal-cpi asked this question in Q&A
Discussion options

You must be logged in to vote

Sometimes archive log works a bit later then maximum file size exceeds the limit, especially when writing a large log message. Anyway, if it works with the default behavior, then the issue is in your archiveLog implementation.

To debug such an issue, I would do the following:

  • Rewrite this code to prevent using callbacks, otherwise it's hard to determine the actual code workflow.
  • Make a test similar to that for your archiveLog function.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@arunbansal-cpi
Comment options

@megahertz
Comment options

Answer selected by arunbansal-cpi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #358 on May 09, 2023 09:58.