-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathhistory_server.conf
73 lines (59 loc) · 1.65 KB
/
history_server.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"server_id": 50,
"server_name": "history.test",
"management": {
"address": "127.0.1.5:8888",
"client_ca": "configs/ca_cert.pem",
"authorised_fingerprints": [
{ "name": "user1", "fingerprint": "3ff8bb5419e2a3461cf53bf5679db4d05ef09c36" },
],
},
"server": {
"database": "postgres:///sable_history?host=/var/run/postgresql/",
// run migrations on startup
"auto_run_migrations": true,
},
"event_log": {
"event_expiry": 300, // five minutes, for local testing
},
"tls_config": {
"key_file": "configs/history.key",
"cert_file": "configs/history.pem",
},
"node_config": {
"listen_addr": "127.0.1.5:6668",
"cert_file": "configs/history.pem",
"key_file": "configs/history.key",
},
"log": {
"dir": "./log/history/",
"stdout": "stdout.log",
"stderr": "stderr.log",
"pidfile": "sable.pid",
"module-levels": {
"tokio": "trace",
"runtime": "trace",
"rustls": "warn",
"tracing": "warn",
"sable": "trace",
"": "info",
},
"targets": [
{
"target": "stdout",
"level": "trace",
"modules": [ "sable_history" ],
},
{
"target": { "filename": "sable.log" },
"level": "info",
}
,
{
"target": { "filename": "trace.log" },
"level": "trace",
},
],
"console-address": "127.0.1.5:9999",
}
}