print stats to syslog
parent
8cf20e6639
commit
c8495d5a89
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue