mirror of https://github.com/sipwise/kamailio.git
During full table scans, progress messages are currently logged at warning level. Since these messages are informational and not expected during normal operation, they are now downgraded to debug level. Change-Id: I172d0af3f8a6c0307f269c7f8af221c5be4248e8mr26.1
parent
a23d296d19
commit
431d99ba88
@ -0,0 +1,39 @@
|
||||
--- a/src/modules/db_redis/redis_dbase.c
|
||||
+++ b/src/modules/db_redis/redis_dbase.c
|
||||
@@ -1662,11 +1662,11 @@ static int db_redis_perform_query(const
|
||||
|
||||
if(!(*keys_count) && do_table_scan) {
|
||||
if(_n > 0) {
|
||||
- LM_WARN("performing full table scan on table '%.*s' while doing "
|
||||
+ LM_DBG("performing full table scan on table '%.*s' while doing "
|
||||
"the query\n",
|
||||
CON_TABLE(_h)->len, CON_TABLE(_h)->s);
|
||||
for(i = 0; i < _n; ++i) {
|
||||
- LM_WARN(" scan key %d is '%.*s'\n", i, _k[i]->len, _k[i]->s);
|
||||
+ LM_DBG(" scan key %d is '%.*s'\n", i, _k[i]->len, _k[i]->s);
|
||||
}
|
||||
} else {
|
||||
LM_DBG("loading full table: '%.*s\n", CON_TABLE(_h)->len,
|
||||
@@ -1854,7 +1854,7 @@ static int db_redis_perform_delete(const
|
||||
|
||||
if(!*keys_count && do_table_scan) {
|
||||
if(!ts_scan_start)
|
||||
- LM_WARN("performing full table scan on table '%.*s' while "
|
||||
+ LM_DBG("performing full table scan on table '%.*s' while "
|
||||
"performing delete\n",
|
||||
CON_TABLE(_h)->len, CON_TABLE(_h)->s);
|
||||
else
|
||||
@@ -2191,11 +2191,11 @@ static int db_redis_perform_update(const
|
||||
#endif
|
||||
|
||||
if(!(*keys_count) && do_table_scan) {
|
||||
- LM_WARN("performing full table scan on table '%.*s' while performing "
|
||||
+ LM_DBG("performing full table scan on table '%.*s' while performing "
|
||||
"update\n",
|
||||
CON_TABLE(_h)->len, CON_TABLE(_h)->s);
|
||||
for(i = 0; i < _n; ++i) {
|
||||
- LM_WARN(" scan key %d is '%.*s'\n", i, _k[i]->len, _k[i]->s);
|
||||
+ LM_DBG(" scan key %d is '%.*s'\n", i, _k[i]->len, _k[i]->s);
|
||||
}
|
||||
if(db_redis_scan_query_keys(con, CON_TABLE(_h), _n, keys, keys_count,
|
||||
manual_keys, manual_keys_count, ts_scan_start, ts_scan_key,
|
||||
Loading…
Reference in new issue