Browse Source

Disable stdout/stderr rerouting in logger.

tags/v2.0.0
Andrew Belt 5 years ago
parent
commit
b3095ff8df
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      src/logger.cpp

+ 3
- 2
src/logger.cpp View File

@@ -31,8 +31,9 @@ void init() {
} }


// Redirect stdout and stderr to the file // Redirect stdout and stderr to the file
dup2(fileno(outputFile), fileno(stdout));
dup2(fileno(outputFile), fileno(stderr));
// Actually, disable this because we don't want to steal stdout/stderr from the DAW in Rack for DAWs.
// dup2(fileno(outputFile), fileno(stdout));
// dup2(fileno(outputFile), fileno(stderr));
} }


void destroy() { void destroy() {


Loading…
Cancel
Save