summaryrefslogtreecommitdiffstats
path: root/src/filter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/filter.c')
-rw-r--r--src/filter.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/filter.c b/src/filter.c
index 11683d0d4..ca3270f47 100644
--- a/src/filter.c
+++ b/src/filter.c
@@ -32,6 +32,7 @@
#include "expressions.h"
#include "settings.h"
#include "view.h"
+#include "binlog.h"
#include "classifiers/classifiers.h"
#include "tokenizers/tokenizers.h"
@@ -488,6 +489,7 @@ process_autolearn (struct statfile *st, struct worker_task *task, GTree * tokens
}
classifier->learn_func (ctx, task->worker->srv->statfile_pool, st->symbol, tokens, TRUE);
+ maybe_write_binlog (ctx->cfg, st->symbol, tokens);
}
}
}