bugfix
This commit is contained in:
@@ -297,7 +297,7 @@ int io_uring_peek_ready_entrys(struct io_uring_instance *instance)
|
||||
struct io_uring_cqe *cqe = cqes[i];
|
||||
if (cqe == NULL || (void *)cqe->user_data == NULL)
|
||||
{
|
||||
TFE_LOG_ERROR(g_default_logger, "IO_URING: unable to get io_uring cqe, null is return");
|
||||
// TFE_LOG_ERROR(g_default_logger, "IO_URING: unable to get io_uring cqe, null is return");
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
@@ -1344,7 +1344,7 @@ void __stream_access_log_write(struct tfe_stream_private * stream)
|
||||
"%s/%s/%s ", __str_stream_log_type(ev_log->type), str_dir, ev_log->str_error);
|
||||
}
|
||||
|
||||
TFE_LOG_INFO(stream->stream_logger, RLOG_LV_INFO, "access",
|
||||
TFE_LOG_INFO(stream->stream_logger, "access",
|
||||
"%d %d %d %s %s %s %s %s %s", stream->log_fd_downstream, stream->log_fd_upstream, stream->keyring_id,
|
||||
stream->str_stream_addr, str_passthrough, str_kill, str_log_event,
|
||||
stream->ssl_downstream_info_dump, stream->ssl_upstream_info_dump);
|
||||
@@ -1889,7 +1889,7 @@ void tfe_stream_write_access_log(const struct tfe_stream * stream, int level, co
|
||||
vasprintf(&__tmp_buffer, fmt, arg_ptr);
|
||||
|
||||
/* Log content with stream tag */
|
||||
TFE_LOG_INFO(_stream->stream_logger, RLOG_LV_INFO, "access", "%s %s", _stream->str_stream_addr, __tmp_buffer);
|
||||
TFE_LOG_INFO(_stream->stream_logger, "access", "%s %s", _stream->str_stream_addr, __tmp_buffer);
|
||||
free(__tmp_buffer);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user