From 312d1ed28b8557401bf4af56b0dee2039bcfbf01 Mon Sep 17 00:00:00 2001 From: Simon Lin Date: Tue, 10 Nov 2020 23:21:19 +0800 Subject: [PATCH] [posix] increase max log size (#5794) This commit increases the OPENTHREAD_CONFIG_LOG_MAX_SIZE from 150 to 1024 for posix. --- src/posix/platform/openthread-core-posix-config.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/posix/platform/openthread-core-posix-config.h b/src/posix/platform/openthread-core-posix-config.h index b8db9519c..55c11da83 100644 --- a/src/posix/platform/openthread-core-posix-config.h +++ b/src/posix/platform/openthread-core-posix-config.h @@ -116,4 +116,14 @@ #endif +/** + * @def OPENTHREAD_CONFIG_LOG_MAX_SIZE + * + * The maximum log string size (number of chars). + * + */ +#ifndef OPENTHREAD_CONFIG_LOG_MAX_SIZE +#define OPENTHREAD_CONFIG_LOG_MAX_SIZE 1024 +#endif + #endif // OPENTHREAD_CORE_POSIX_CONFIG_H_