Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
On Windows, logging module is initialized after sandbox creation. But NW package is initialized ealier that that, which causes the creation of `debug.log` no matter if `--enable-logging` or `--disable-logging` is set. The patch moved the initialization of NW package after logging is initialized. The limitation is that logging CLI argument can't be passed by `chromium-args` in nw package, because nw package is initialized after the logging initialization. Fixed nwjs/nw.js#4637
- Loading branch information