Converted forked process logging to use stdout. (#126)

Forked processes are now logging to stdout to avoid race conditions with hpcore log file.
This commit is contained in:
Ravin Perera
2020-09-24 10:40:17 +05:30
committed by GitHub
parent 3e2b7dbcfa
commit 5bfa722b24
5 changed files with 26 additions and 25 deletions

View File

@@ -335,7 +335,7 @@ namespace comm
execv_args[idx] = NULL;
const int ret = execv(execv_args[0], execv_args);
LOG_ERROR << errno << ": websocketd process execv failed.";
std::cerr << errno << ": websocketd process execv failed.\n";
exit(1);
}
else