Explicitly writes debug log to stderr
If we don't do this Chromium will close stdout and stderr for us, resulting process.stdout not working.
This commit is contained in:
parent
d4aa2308cd
commit
4412a89270
1 changed files with 3 additions and 1 deletions
|
@ -38,7 +38,9 @@ bool AtomMainDelegate::BasicStartupComplete(int* exit_code) {
|
|||
#else
|
||||
settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG;
|
||||
#endif // defined(DEBUG)
|
||||
#endif // defined(OS_WIN)
|
||||
#else // defined(OS_WIN)
|
||||
settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG;
|
||||
#endif // !defined(OS_WIN)
|
||||
logging::InitLogging(settings);
|
||||
|
||||
// Logging with pid and timestamp.
|
||||
|
|
Loading…
Add table
Reference in a new issue