MINOR: filters: Print the list of existing filters during HA startup
This is done in verbose/debug mode and when build options are reported.
diff --git a/src/haproxy.c b/src/haproxy.c
index 51af55a..0c223e5 100644
--- a/src/haproxy.c
+++ b/src/haproxy.c
@@ -412,6 +412,8 @@
list_pollers(stdout);
putchar('\n');
+ list_filters(stdout);
+ putchar('\n');
}
/*
@@ -1126,8 +1128,11 @@
/* Note: we could disable any poller by name here */
- if (global.mode & (MODE_VERBOSE|MODE_DEBUG))
+ if (global.mode & (MODE_VERBOSE|MODE_DEBUG)) {
list_pollers(stderr);
+ fprintf(stderr, "\n");
+ list_filters(stderr);
+ }
if (!init_pollers()) {
Alert("No polling mechanism available.\n"