/* set up hash for tenant lookup */
list = master->list;
while (list) {
- SCLogInfo("tenant-id %u", list->tenant_id);
+ SCLogDebug("tenant-id %u", list->tenant_id);
if (list->tenant_id != 0) {
DetectEngineThreadCtx *mt_det_ctx = DetectEngineThreadCtxInitForReload(tv, list, 0);
if (mt_det_ctx == NULL)
char prefix[64];
snprintf(prefix, sizeof(prefix), "multi-detect.%d.reload.%d", tenant_id, reload_cnt);
reload_cnt++;
- SCLogInfo("prefix %s", prefix);
+ SCLogDebug("prefix %s", prefix);
if (ConfYamlLoadFileWithPrefix(filename, prefix) != 0) {
SCLogError(SC_ERR_INITIALIZATION,"failed to load yaml");
char *handler = NULL;
if (ConfGet("multi-detect.selector", &handler) == 1) {
- SCLogInfo("multi-tenant selector type %s", handler);
+ SCLogConfig("multi-tenant selector type %s", handler);
if (strcmp(handler, "vlan") == 0) {
tenant_selector = master->tenant_selector = TENANT_SELECTOR_VLAN;
}
}
SCMutexUnlock(&master->lock);
- SCLogInfo("multi-detect is enabled (multi tenancy). Selector: %s", handler);
+ SCLogConfig("multi-detect is enabled (multi tenancy). Selector: %s", handler);
/* traffic -- tenant mappings */
ConfNode *mappings_root_node = ConfGetNode("multi-detect.mappings");
if (DetectEngineTentantRegisterVlanId(tenant_id, (uint32_t)vlan_id) != 0) {
goto error;
}
- SCLogInfo("vlan %u connected to tenant-id %u", vlan_id, tenant_id);
+ SCLogConfig("vlan %u connected to tenant-id %u", vlan_id, tenant_id);
mapping_cnt++;
continue;
"of %s is invalid", id_node->val);
goto bad_tenant;
}
- SCLogInfo("tenant id: %u, %s", tenant_id, yaml_node->val);
+ SCLogDebug("tenant id: %u, %s", tenant_id, yaml_node->val);
/* setup the yaml in this loop so that it's not done by the loader
* threads. ConfYamlLoadFileWithPrefix is not thread safe. */