mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-17 07:30:41 +09:00
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:
1 parent
69221a310c
commit
1c8a2fef32
6 files changed
+201
-22
No files matched your search
@@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user