summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/logging.c
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/logging.c')
-rw-r--r--libglusterfs/src/logging.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libglusterfs/src/logging.c b/libglusterfs/src/logging.c
index 55ef087a868..3698b4e7356 100644
--- a/libglusterfs/src/logging.c
+++ b/libglusterfs/src/logging.c
@@ -616,6 +616,15 @@ out:
return (0);
}
+int
+gf_log_eh (void *data)
+{
+ int ret = -1;
+
+ ret = eh_save_history (THIS->history, data);
+
+ return ret;
+}
int
gf_cmd_log_init (const char *filename)