src/server/safs/addlog.c

changeset 77
f1cff81e425a
parent 45
a24aa388f02f
child 196
0459c94a60ed
equal deleted inserted replaced
76:5f7660fe1562 77:f1cff81e425a
70 tmstr.length--; 70 tmstr.length--;
71 } 71 }
72 tmstr = sstrdup_pool(sn->pool, tmstr); 72 tmstr = sstrdup_pool(sn->pool, tmstr);
73 73
74 fprintf( 74 fprintf(
75 log->log, 75 log->log->file,
76 "%s - %s [%s] \"%s\" %d %s\n", 76 "%s - %s [%s] \"%s\" %d %s\n",
77 ip, 77 ip,
78 user, 78 user,
79 tmstr.ptr, 79 tmstr.ptr,
80 req, 80 req,
81 rq->status_num, 81 rq->status_num,
82 len); 82 len);
83 fflush(log->log); 83 fflush(log->log->file);
84 84
85 85
86 return REQ_PROCEED; 86 return REQ_PROCEED;
87 } 87 }
88 88

mercurial