aboutsummaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/Whirl.default.toml1
-rw-r--r--src/config/mod.rs2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/config/Whirl.default.toml b/src/config/Whirl.default.toml
index 0edb0b2..aa2d684 100644
--- a/src/config/Whirl.default.toml
+++ b/src/config/Whirl.default.toml
@@ -14,6 +14,7 @@ enable = true
level = 1
everything = false
test = false
+file = true
[distributor]
worldsmaster_greeting = "Welcome to Whirlsplash!"
diff --git a/src/config/mod.rs b/src/config/mod.rs
index 8e6e053..bc350ea 100644
--- a/src/config/mod.rs
+++ b/src/config/mod.rs
@@ -26,6 +26,7 @@ pub struct WhirlsplashLogConfig {
pub level: i64,
pub everything: bool,
pub test: bool,
+ pub file: bool,
}
#[derive(Serialize, Deserialize, Debug)]
pub struct DistributorConfig {
@@ -83,6 +84,7 @@ impl Default for Config {
level: 1,
everything: false,
test: false,
+ file: true,
},
},
distributor: DistributorConfig {