Module: sip-router
Branch: master
Commit: 25e7b54c89623608b4491c8f89ef50e72efc09fb
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=25e7b54…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Juha Heinanen <jh(a)tutpro.com>
Date: Sat Oct 2 16:01:59 2010 +0300
modules_k/permissions: changed allow/deny file WARNs to INFOs
---
modules_k/permissions/parse_config.c | 2 +-
modules_k/permissions/permissions.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules_k/permissions/parse_config.c b/modules_k/permissions/parse_config.c
index d4e227a..ad13535 100644
--- a/modules_k/permissions/parse_config.c
+++ b/modules_k/permissions/parse_config.c
@@ -248,7 +248,7 @@ rule *parse_config_file(char *filename)
file = fopen(filename,"r");
if (!file) {
- LM_WARN("file not found: %s\n", filename);
+ LM_INFO("file not found: %s\n", filename);
return NULL;
}
diff --git a/modules_k/permissions/permissions.c b/modules_k/permissions/permissions.c
index 0915437..4d41817 100644
--- a/modules_k/permissions/permissions.c
+++ b/modules_k/permissions/permissions.c
@@ -445,7 +445,7 @@ static int load_fixup(void** param, int param_no)
if (table[rules_num].rules) {
LM_DBG("file (%s) parsed\n", pathname);
} else {
- LM_WARN("file (%s) not found => empty rule set\n", pathname);
+ LM_INFO("file (%s) not found => empty rule set\n", pathname);
}
*param = (void*)(long)rules_num;
if (param_no == 2) rules_num++;
@@ -602,7 +602,7 @@ static int mod_init(void)
if (allow[0].rules) {
LM_DBG("default allow file (%s) parsed\n", allow[0].filename);
} else {
- LM_WARN("default allow file (%s) not found => empty rule set\n",
+ LM_INFO("default allow file (%s) not found => empty rule set\n",
allow[0].filename);
}
@@ -611,7 +611,7 @@ static int mod_init(void)
if (deny[0].rules) {
LM_DBG("default deny file (%s) parsed\n", deny[0].filename);
} else {
- LM_WARN("default deny file (%s) not found => empty rule set\n",
+ LM_INFO("default deny file (%s) not found => empty rule set\n",
deny[0].filename);
}