mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(export) add config send log
This commit is contained in:
parent
3250c07a16
commit
c83cbeeb22
2 changed files with 2 additions and 0 deletions
1
HELP.md
1
HELP.md
|
|
@ -460,6 +460,7 @@ Here is the log of `export server`:
|
|||
url: http://localhost:1234/
|
||||
2018.08.23 13:41:45 -> export: try to auth from importer [127.0.0.1:4321]
|
||||
2018.08.23 13:41:45 -> export: connected to importer [127.0.0.1:4321]
|
||||
2018.08.23 13:41:45 -> export: config send to importer[127.0.0.1:4321]
|
||||
2018.08.23 13:41:45 -> export: disconnected importer [127.0.0.1:4321]
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -85,6 +85,7 @@ const connectPush = wraptile((push, socket) => {
|
|||
|
||||
log(exportStr, `${connectedStr} to ${host}`);
|
||||
socket.emit('config', omitConfig(config('*')));
|
||||
log(exportStr, `config send to ${host}`);
|
||||
|
||||
config.subscribe(subscription);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue