From 041abe43fa79fac3f9b36b08391ba87cd8efec12 Mon Sep 17 00:00:00 2001 From: winlin Date: Sun, 12 Jul 2020 19:52:03 +0800 Subject: [PATCH] Log: Support large log for RTC SDP. --- trunk/src/app/srs_app_log.cpp | 2 +- trunk/src/protocol/srs_service_log.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/src/app/srs_app_log.cpp b/trunk/src/app/srs_app_log.cpp index 82e9e484b..9ef9f5571 100644 --- a/trunk/src/app/srs_app_log.cpp +++ b/trunk/src/app/srs_app_log.cpp @@ -37,7 +37,7 @@ #include // the max size of a line of log. -#define LOG_MAX_SIZE 4096 +#define LOG_MAX_SIZE 8192 // the tail append to each log. #define LOG_TAIL '\n' diff --git a/trunk/src/protocol/srs_service_log.cpp b/trunk/src/protocol/srs_service_log.cpp index 3d711343b..ca30daf2f 100644 --- a/trunk/src/protocol/srs_service_log.cpp +++ b/trunk/src/protocol/srs_service_log.cpp @@ -33,7 +33,7 @@ using namespace std; #include #include -#define SRS_BASIC_LOG_SIZE 1024 +#define SRS_BASIC_LOG_SIZE 8192 SrsThreadContext::SrsThreadContext() {