Skip to content

How do you change the path or filename of the renderer log? #304

Answered by petestarkey
petestarkey asked this question in Q&A
Discussion options

You must be logged in to vote

Nothing helpful in the stack. Unfortunately, there's no way to find the actual reason in that case, since it depends on webContents and bundler settings. As a workaround for such a case, it's better to use logger in the main process only and use ipc to send log messages from renderer. I have plans to fix that in the next major release, but I have no exact dates for that.

Thanks @megahertz. Marking this as the answer. I used IPC to send messages through to main process as you suggest and this works well. Also means you get just one log file which is a bit neater.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@megahertz
Comment options

@petestarkey
Comment options

@megahertz
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by petestarkey
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