[MEDIUM] splitted logs into two versions : TCP and HTTP
logs are handled better with dedicated functions. The HTTP implementation
moved to proto_http.c. It has been cleaned up a bit. Now a frontend with
option httplog and no log will not call the function anymore.
diff --git a/include/proto/log.h b/include/proto/log.h
index 7a74c82..4ed56dd 100644
--- a/include/proto/log.h
+++ b/include/proto/log.h
@@ -58,7 +58,7 @@
/*
* send a log for the session when we have enough info about it
*/
-void sess_log(struct session *s);
+void tcp_sess_log(struct session *s);
/*
* returns log level for <lev> or -1 if not found.
@@ -70,11 +70,6 @@
*/
int get_log_facility(const char *fac);
-/*
- * Initializes some data needed later.
- */
-void init_log();
-
#endif /* _PROTO_LOG_H */
/*