diff --git a/HELP.md b/HELP.md index 1b9d2866..8a396d3f 100644 --- a/HELP.md +++ b/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] ``` diff --git a/server/distribute/export.js b/server/distribute/export.js index 7d6ecd20..7eeda14c 100644 --- a/server/distribute/export.js +++ b/server/distribute/export.js @@ -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); });