Skip to content

Commit fd07f58

Browse files
carlo2007Carlo Filippi
authored andcommitted
admin/rsyslog: add mmnormalize module support
This module provides the capability to normalize log messages via liblognorm. If enabled, rsyslog package increases in size by about 4KB. Signed-off-by: Carlo Filippi <carlo2007@gmail.com>
1 parent 6818401 commit fd07f58

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

admin/rsyslog/Config.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,9 @@ if PACKAGE_rsyslog
5959
default n
6060
help
6161
Enable input file module in rsyslog
62+
config RSYSLOG_mmnormalize
63+
bool "Enable mmnormalize module support"
64+
default n
65+
help
66+
Enable mmnormalize module in rsyslog
6267
endif

admin/rsyslog/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ define Package/rsyslog
3737
+RSYSLOG_libdbi:libdbi +libestr +libfastjson +RSYSLOG_gnutls:libgnutls \
3838
+RSYSLOG_mmdblookup:libmaxminddb +RSYSLOG_mysql:libmysqlclient \
3939
+RSYSLOG_omhttp:libcurl +RSYSLOG_openssl:libopenssl \
40-
+RSYSLOG_pgsql:libpq +libuuid +zlib
40+
+RSYSLOG_pgsql:libpq +libuuid +zlib +RSYSLOG_mmnormalize:liblognorm
4141
MENU:=1
4242
endef
4343

@@ -61,7 +61,8 @@ CONFIGURE_ARGS+= \
6161
$(if $(CONFIG_RSYSLOG_mail),--enable-mail) \
6262
$(if $(CONFIG_RSYSLOG_mmjsonparse),--enable-mmjsonparse) \
6363
$(if $(CONFIG_RSYSLOG_mmdblookup),--enable-mmdblookup) \
64-
$(if $(CONFIG_RSYSLOG_imfile),--enable-imfile)
64+
$(if $(CONFIG_RSYSLOG_imfile),--enable-imfile) \
65+
$(if $(CONFIG_RSYSLOG_mmnormalize),--enable-mmnormalize)
6566

6667
define Package/rsyslog/install
6768
$(INSTALL_DIR) $(1)/usr/sbin

0 commit comments

Comments
 (0)