Add stripping of instance paths in Factorio log

Add option defaulting to true to strip instance directory paths printed
into the Factorio log down to be relative to the instance.
This commit is contained in:
Hornwitser committed 2020-11-09 15:57:46 +01:00
1 parent 63a656cd61
commit 67654fdf85
5 files changed
+65 -1

No files matched your search

+1
View File
@@ -135,6 +135,7 @@ class Instance extends libLink.Link{
rconPort: this.config.get("factorio.rcon_port"),
rconPassword: this.config.get("factorio.rcon_password"),
enableWhitelist: this.config.get("factorio.enable_whitelist"),
stripPaths: this.config.get("factorio.strip_paths"),
};
this._running = false;