|
1 | 1 | { |
2 | | - "Logging": { |
3 | | - "LogLevel": { |
4 | | - "Default": "Information", |
5 | | - "Microsoft.Hosting.Lifetime": "Information" |
6 | | - } |
| 2 | + "Serilog": { |
| 3 | + "MinimumLevel": { |
| 4 | + "Default": "Warning" |
| 5 | + }, |
| 6 | + "Enrich": ["FromLogContext"], |
| 7 | + "WriteTo": [ |
| 8 | + { |
| 9 | + "Name": "Console" |
| 10 | + }, |
| 11 | + { |
| 12 | + "Name": "File", |
| 13 | + "Args": { |
| 14 | + "path": "logs/rustplusbot-.log", |
| 15 | + "rollingInterval": "Day", |
| 16 | + "rollOnFileSizeLimit": true, |
| 17 | + "retainedFileCountLimit": 14 |
| 18 | + } |
| 19 | + } |
| 20 | + ] |
7 | 21 | }, |
8 | 22 | "Discord": { |
9 | | - "Token": "" |
| 23 | + "Token": "", |
| 24 | + "ResetCommandsOnStartup": false |
10 | 25 | }, |
11 | 26 | "Database": { |
12 | 27 | "ConnectionString": "DataSource=rustplusbot.db" |
13 | 28 | }, |
14 | 29 | "Workspace": { |
15 | 30 | "EnableDangerCommands": false |
| 31 | + }, |
| 32 | + "Pairing": { |
| 33 | + "ProbeTimeout": "00:00:08", |
| 34 | + "InitialRetryDelay": "00:00:05", |
| 35 | + "MaxRetryDelay": "00:05:00" |
| 36 | + }, |
| 37 | + "Connections": { |
| 38 | + "ConnectTimeout": "00:00:30", |
| 39 | + "InitialRetryDelay": "00:00:05", |
| 40 | + "MaxRetryDelay": "00:05:00", |
| 41 | + "HeartbeatInterval": "00:01:00", |
| 42 | + "HeartbeatTimeout": "00:00:10", |
| 43 | + "MarkerPollInterval": "00:00:05", |
| 44 | + "MarkerPollFastInterval": "00:00:02", |
| 45 | + "RigRadius": 150, |
| 46 | + "RigActiveWindow": "00:15:00", |
| 47 | + "RigOfflineWindow": "00:15:00", |
| 48 | + "RigTickInterval": "00:00:30", |
| 49 | + "AfkThreshold": "00:05:00", |
| 50 | + "AfkEpsilon": 1, |
| 51 | + "ReachabilityPollInterval": "00:05:00" |
| 52 | + }, |
| 53 | + "Commands": { |
| 54 | + "Cooldown": "00:00:04" |
| 55 | + }, |
| 56 | + "Map": { |
| 57 | + "MapRefreshInterval": "00:00:45" |
16 | 58 | } |
17 | 59 | } |
0 commit comments