Skip to content

Instantly share code, notes, and snippets.

@entropie
Created May 2, 2019 22:48
Show Gist options
  • Save entropie/8f78bcec7a1552fc72ca7956c959966d to your computer and use it in GitHub Desktop.
Save entropie/8f78bcec7a1552fc72ca7956c959966d to your computer and use it in GitHub Desktop.
diff --git a/window_background/background.js b/window_background/background.js
index 6eb93a4..f25e4c7 100644
--- a/window_background/background.js
+++ b/window_background/background.js
@@ -962,6 +962,11 @@ let settingsLogUri = settingsStore.get("logUri");
if (settingsLogUri) {
logUri = settingsLogUri;
}
+
+if(typeof process.env.LOGFILE !== 'undefined') {
+ logUri = process.env.LOGFILE;
+}
+
console.log(logUri);
const ArenaLogWatcher = require("./arena-log-watcher");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment