accessLogInit(void)
{
customlog *log;
+
+ accessLogRegisterWithCacheManager();
+
assert(sizeof(log_tags) == (LOG_TYPE_MAX + 1) * sizeof(char *));
for (log = Config.Log.accesslogs; log; log = log->next) {
accessLogRegisterWithCacheManager()
{
#if FORW_VIA_DB
-
fvdbRegisterWithCacheManager();
-
#endif
}
}
static void
-fvdbRegisterWithCacheManager()
+fvdbRegisterWithCacheManager(void)
{
CacheManager *manager=CacheManager::GetInstance();
manager->registerAction("via_headers", "Via Request Headers", fvdbDumpVia, 0, 1);
FwdState::initModule();
/* register the modules in the cache manager menus */
- accessLogRegisterWithCacheManager();
+ // accessLogRegisterWithCacheManager(); //moved to accessLogInit()
// asnRegisterWithCacheManager(); //moved to asnInit()
authenticateRegisterWithCacheManager(&Config.authConfiguration);
#if USE_CARP