From 66ccb5adb45411adaef7ab45d2dc7fe1741ebdcc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 10 Nov 2014 16:00:28 +0300 Subject: Add support for plugin options in map server config (logs.conf). --- src/map/log.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/map/log.c') diff --git a/src/map/log.c b/src/map/log.c index 3efcd09df..f0fd6795c 100644 --- a/src/map/log.c +++ b/src/map/log.c @@ -20,6 +20,7 @@ #include "../common/showmsg.h" #include "../common/sql.h" // SQL_INNODB #include "../common/strlib.h" +#include "../common/HPM.h" struct log_interface log_s; @@ -453,6 +454,8 @@ int log_config_read(const char* cfgName) { //support the import command, just like any other config else if( strcmpi(w1,"import") == 0 ) logs->config_read(w2); + else if (HPM->parseConf(w1, w2, HPCT_LOG)) + ; // handled by plugins else ShowWarning("Unknown setting '%s' in file %s\n", w1, cfgName); } -- cgit v1.2.3-60-g2f50