diff options
author | tiptorrent development team <tiptorrent@soleta.eu> | 2021-09-19 00:01:09 +0200 |
---|---|---|
committer | tiptorrent development team <tiptorrent@soleta.eu> | 2021-09-19 00:07:04 +0200 |
commit | c8495d5a897f04ee8e6dd752d088f5d765cabc27 (patch) | |
tree | fb184f1bba4f7207bb3d27b7874e33a812d1d7c0 | |
parent | 8cf20e663952b3a42568577d7f6e0066547422f7 (diff) |
print stats to syslog
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -440,7 +440,8 @@ int main(int argc, char *argv[]) if (_cli.state == TIP_CLIENT_DONE) { gettimeofday(&tv_stop, NULL); timersub(&tv_stop, &tv_start, &tv); - printf("Done in %lu.%06lu seconds (%lu Mbytes/second). " + printf("OK.\n"); + syslog(LOG_INFO, "Done in %lu.%06lu seconds (%lu Mbytes/second). " "Direct from server: %u Redirected: %u\n", tv.tv_sec, tv.tv_usec, data_len / 1024000 / tv.tv_sec, |