summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2023-05-30 20:08:26 +0800
committerluwenpeng <[email protected]>2023-05-30 20:08:26 +0800
commit5af89ccc936892fe4ddf84ec72e4a83d47579e98 (patch)
tree0cd739e85aed55924706a67ab3f48aab7347d244
parentf32535e5576160cd8fffa5be2cff525f5a43037c (diff)
-rw-r--r--common/src/io_uring.cpp2
-rw-r--r--platform/src/tcp_stream.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/common/src/io_uring.cpp b/common/src/io_uring.cpp
index 14a4c8e..d93fe37 100644
--- a/common/src/io_uring.cpp
+++ b/common/src/io_uring.cpp
@@ -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;
}
diff --git a/platform/src/tcp_stream.cpp b/platform/src/tcp_stream.cpp
index dc89d90..d1ac18e 100644
--- a/platform/src/tcp_stream.cpp
+++ b/platform/src/tcp_stream.cpp
@@ -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);
}