Turn logging off by default (ClientConfig)
Logging is still enabled through the client.properties however, where console logging is set to FINER.
This commit is contained in:
parent
47ab5d1e0c
commit
698e260746
@ -38,8 +38,8 @@ public class ClientConfig extends Config {
|
|||||||
items.put("localDB", new ConfigItem<>("localDB", "db", File::new, new File("localDB"), true));
|
items.put("localDB", new ConfigItem<>("localDB", "db", File::new, new File("localDB"), true));
|
||||||
items.put("ignoreLocalDB", new ConfigItem<>("ignoreLocalDB", "nodb", Boolean::parseBoolean, false, false));
|
items.put("ignoreLocalDB", new ConfigItem<>("ignoreLocalDB", "nodb", Boolean::parseBoolean, false, false));
|
||||||
items.put("homeDirectory", new ConfigItem<>("homeDirectory", "h", File::new, new File(System.getProperty("user.home"), ".envoy"), true));
|
items.put("homeDirectory", new ConfigItem<>("homeDirectory", "h", File::new, new File(System.getProperty("user.home"), ".envoy"), true));
|
||||||
items.put("fileLevelBarrier", new ConfigItem<>("fileLevelBarrier", "fb", Level::parse, Level.CONFIG, true));
|
items.put("fileLevelBarrier", new ConfigItem<>("fileLevelBarrier", "fb", Level::parse, Level.OFF, true));
|
||||||
items.put("consoleLevelBarrier", new ConfigItem<>("consoleLevelBarrier", "cb", Level::parse, Level.FINEST, true));
|
items.put("consoleLevelBarrier", new ConfigItem<>("consoleLevelBarrier", "cb", Level::parse, Level.OFF, true));
|
||||||
items.put("user", new ConfigItem<>("user", "u", identity()));
|
items.put("user", new ConfigItem<>("user", "u", identity()));
|
||||||
items.put("password", new ConfigItem<>("password", "pw", identity()));
|
items.put("password", new ConfigItem<>("password", "pw", identity()));
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
server=localhost
|
server=localhost
|
||||||
port=8080
|
port=8080
|
||||||
localDB=.\\localDB
|
localDB=localDB
|
||||||
|
consoleLevelBarrier=FINER
|
||||||
|
Reference in New Issue
Block a user