version 1.2 | | version 1.3 |
---|
| | |
| | |
/* | | /* |
* static char *rcsid_sockets_c = | | * static char *rcsid_sockets_c = |
* "$Id: lowlevel.c,v 1.2 1999/04/26 21:00:30 azzie Exp $"; | | * "$Id: lowlevel.c,v 1.3 2000/05/21 21:41:46 jec Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
/* If no connections recently, don't both to log anything */ | | /* If no connections recently, don't both to log anything */ |
if (cst_lst.ibytes==0 && cst_lst.obytes==0) return; | | if (cst_lst.ibytes==0 && cst_lst.obytes==0) return; |
| | |
/* It really isn't an error, but I really want it logged in all cases */ | | |
/* CSSTAT is put in so scripts can easily find the line */ | | /* CSSTAT is put in so scripts can easily find the line */ |
LOG(llevError, "CSSTAT: %.16s tot %d %d %d %d inc %d %d %d %d\n", | | LOG(llevInfo, "CSSTAT: %.16s tot %d %d %d %d inc %d %d %d %d\n", |
ctime(&now), cst_tot.ibytes, cst_tot.obytes, cst_tot.max_conn, | | ctime(&now), cst_tot.ibytes, cst_tot.obytes, cst_tot.max_conn, |
now - cst_tot.time_start, cst_lst.ibytes, cst_lst.obytes, | | now - cst_tot.time_start, cst_lst.ibytes, cst_lst.obytes, |
cst_lst.max_conn, now - cst_lst.time_start); | | cst_lst.max_conn, now - cst_lst.time_start); |