summaryrefslogtreecommitdiff
path: root/logger.h
diff options
context:
space:
mode:
Diffstat (limited to 'logger.h')
-rw-r--r--logger.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/logger.h b/logger.h
index 715f3af..5492f72 100644
--- a/logger.h
+++ b/logger.h
@@ -20,6 +20,8 @@ enum log_entry_type {
LOGGER_ITEM_STORE,
LOGGER_CRAWLER_STATUS,
LOGGER_SLAB_MOVE,
+ LOGGER_CONNECTION_NEW,
+ LOGGER_CONNECTION_CLOSE,
#ifdef EXTSTORE
LOGGER_EXTSTORE_WRITE,
LOGGER_COMPACT_START,
@@ -36,6 +38,8 @@ enum log_entry_subtype {
LOGGER_EVICTION_ENTRY,
LOGGER_ITEM_GET_ENTRY,
LOGGER_ITEM_STORE_ENTRY,
+ LOGGER_CONNECTION_NEW_ENTRY,
+ LOGGER_CONNECTION_CLOSE_ENTRY,
#ifdef EXTSTORE
LOGGER_EXT_WRITE_ENTRY,
#endif
@@ -101,6 +105,13 @@ struct logentry_item_store {
char key[];
};
+struct logentry_conn_event {
+ int transport;
+ int reason;
+ int sfd;
+ struct sockaddr addr;
+};
+
/* end intermediary structures */
/* WARNING: cuddled items aren't compatible with warm restart. more code