switch_log_printf(SWITCH_CHANNEL_LOG,SWITCH_LOG_CRIT,"hiredis: failed to release back to pool [%s, %d]\n",context->connection->host,context->connection->port);
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session),SWITCH_LOG_CRIT,"hiredis: failed to release back to pool [%s, %d]\n",context->connection->host,context->connection->port);
}else{
}else{
switch_log_printf(SWITCH_CHANNEL_LOG,SWITCH_LOG_DEBUG,"hiredis: release back to pool [%s, %d]\n",context->connection->host,context->connection->port);
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session),SWITCH_LOG_DEBUG,"hiredis: release back to pool [%s, %d]\n",context->connection->host,context->connection->port);
}
}
}
}
/* Grab a context from the pool, reconnect/connect as needed */
/* Grab a context from the pool, reconnect/connect as needed */