Log what is our conf
This commit is contained in:
parent
79436ea61d
commit
9181c2946c
1 changed files with 2 additions and 0 deletions
|
@ -330,6 +330,8 @@ int main(int argc, char** argv) {
|
||||||
if (mctx.size < header_size) mctx.size = header_size;
|
if (mctx.size < header_size) mctx.size = header_size;
|
||||||
if (mctx.transport == NULL) mctx.transport = "udp";
|
if (mctx.transport == NULL) mctx.transport = "udp";
|
||||||
if (mctx.host == NULL || mctx.port == NULL) goto usage;
|
if (mctx.host == NULL || mctx.port == NULL) goto usage;
|
||||||
|
printf("[measlat_conf] host=%s, port=%s, transport=%s, count=%d, size=%d, interval=%d\n",
|
||||||
|
mctx.host, mctx.port, mctx.transport, mctx.count, mctx.size, mctx.interval);
|
||||||
|
|
||||||
// 3. Bind events
|
// 3. Bind events
|
||||||
register_categories(&evts, &mctx);
|
register_categories(&evts, &mctx);
|
||||||
|
|
Loading…
Reference in a new issue