move log message to avoid logging null

This commit is contained in:
Anthony Minessale 2013-05-09 14:34:39 -05:00
parent 16690e491d
commit 30c27efb62
1 changed files with 2 additions and 0 deletions

View File

@ -501,6 +501,8 @@ SWITCH_DECLARE(switch_status_t) _switch_cache_db_get_db_handle(switch_cache_db_h
goto end;
}
new_dbh = create_handle(type);
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, NULL, SWITCH_LOG_DEBUG10,
"Create Cached DB handle %s [%s] %s:%d\n", new_dbh->name, switch_cache_db_type_name(type), file, line);