Add log inspection commands

Add log query and log follow commands which allows inspection of the
combined cluster log.  Past entries can be queried via the new queryLog
request.  The log is stored into a single flat file for now, though the
performance of this may good enough.
This commit is contained in:
Hornwitser committed 2020-11-30 02:49:06 +01:00
1 parent 69221a310c
commit 1c8a2fef32
6 files changed
+201 -22

No files matched your search

+3
View File
@@ -107,7 +107,10 @@ export class Control extends libLink.Link {
async updateLogSubscriptions() {
await libLink.messages.setLogSubscriptions.send(this, {
all: false,
master: false,
slave_ids: [],
instance_ids: [...this.instanceLogHandlers.keys()],
max_level: null,
});
}