We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32a8a05 commit 8c2d888Copy full SHA for 8c2d888
src/controller/controller.cpp
@@ -378,7 +378,11 @@ int main_loop(int argc, char **argv){
378
msghandler.detach();
379
// Attempt to open and redirect log messages to named pipe
380
int outFD = -1;
381
- if ((outFD = open(logPipe.c_str(), O_WRONLY)) == -1){
+ if (getenv("MIST_NO_PRETTY_LOGGING")) {
382
+ WARN_MSG(
383
+ "MIST_NO_PRETTY_LOGGING is active, printing lots of pipes");
384
+ }
385
+ else if ((outFD = open(logPipe.c_str(), O_WRONLY)) == -1){
386
ERROR_MSG(
387
"Could not open log message pipe %s for writing! %s; falling back to standard error",
388
logPipe.c_str(), strerror(errno));
0 commit comments