There was an error while loading. Please reload this page.
1 parent dd6c62d commit 8bee6fcCopy full SHA for 8bee6fc
1 file changed
README.md
@@ -1,6 +1,21 @@
1
# log-sender
2
3
-## quick start
+This application collects logs written as json object lines to `*.jsonl` files.
4
+
5
+The json must be stringified and written on a single line.
6
+It must have 2 properties: "k" and "t".
7
8
+- `k` - is the log "kind". Holochain uses "start" and "fetchedOps".
9
+- `t` - is the microsecond (!!`Date.now() * 1000`!!) timestamp as a string type.
10
11
+Example: `{"k":"start","t":"1758571617392359"}`.
12
13
+The line can contain any additional properties as desired.
14
15
+It is expected that whatever process is writing the logs will also rotate them.
16
+The log-sender will never delete any log files.
17
18
+## running a local log-collector to aid in developing log-sender
19
20
```
21
# check out log-collector
0 commit comments