mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-18 07:33:12 +09:00
Merge pull request #748 from Cooldude2606/feature/console-log
Add config option for console logging
This commit is contained in:
4 files changed
+27
No files matched your search
@@ -347,6 +347,7 @@ export interface InstanceConfigFields {
|
||||
"factorio.enable_authserver_bans": boolean;
|
||||
"factorio.settings": Record<string, unknown>;
|
||||
"factorio.verbose_logging": boolean;
|
||||
"factorio.console_logging": boolean;
|
||||
"factorio.strip_paths": boolean;
|
||||
"factorio.sync_adminlist": "enabled" | "disabled" | "bidirectional";
|
||||
"factorio.sync_whitelist": "enabled" | "disabled" | "bidirectional";
|
||||
@@ -502,6 +503,12 @@ export class InstanceConfig extends classes.Config<InstanceConfigFields> {
|
||||
type: "boolean",
|
||||
initialValue: false,
|
||||
},
|
||||
"factorio.console_logging": {
|
||||
description: "Enable console logging to a separate file, useful for 3rd party integrations",
|
||||
restartRequired: true,
|
||||
type: "boolean",
|
||||
initialValue: false,
|
||||
},
|
||||
"factorio.strip_paths": {
|
||||
description: "Strip down instance paths in the log",
|
||||
restartRequired: true,
|
||||
|
||||
Reference in new issue
Block a user