Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add remote.sendRequestFn to override log sending #352

Closed
megahertz opened this issue Mar 1, 2023 Discussed in #351 · 1 comment
Closed

Add remote.sendRequestFn to override log sending #352

megahertz opened this issue Mar 1, 2023 Discussed in #351 · 1 comment

Comments

@megahertz
Copy link
Owner

Discussed in #351

Originally posted by psiservices-ccounterman March 1, 2023
I'm having problems with people running my electron app behind a proxy. I've fixed some issues by using
https://www.electronjs.org/docs/latest/api/net which "is similar to the HTTP and HTTPS modules of Node.js but uses Chromium's native networking library instead of the Node.js implementation, offering better support for web proxies."
I'm fixing more, but realized that it is affecting the logging as well.
src/transports/remote.js uses http and https.
Before I do anything difficult, is there a currently-supported way to swap in the electron net API or substitute a different remote transport?
Is there a reason electron-log shouldn't use electron.net as the norm?

@megahertz
Copy link
Owner Author

Will be published in 5.0.0-beta.21

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant