diff --git a/features/frameworks/mbed-trace/README.md b/features/frameworks/mbed-trace/README.md index f69f70ca06..fd3c92dba5 100644 --- a/features/frameworks/mbed-trace/README.md +++ b/features/frameworks/mbed-trace/README.md @@ -151,6 +151,8 @@ In Mbed OS, the build time maximum tracing level can be set through `mbed_app.js } ``` +When max-level is not set by the application, default level is INFO. + ### Helping functions The purpose of the helping functions is to provide simple conversions, diff --git a/features/frameworks/mbed-trace/mbed-trace/mbed_trace.h b/features/frameworks/mbed-trace/mbed-trace/mbed_trace.h index c0cef6a888..16e54fb708 100644 --- a/features/frameworks/mbed-trace/mbed-trace/mbed_trace.h +++ b/features/frameworks/mbed-trace/mbed-trace/mbed_trace.h @@ -115,7 +115,7 @@ extern "C" { #define TRACE_LEVEL_CMD 0x01 #ifndef MBED_TRACE_MAX_LEVEL -#define MBED_TRACE_MAX_LEVEL TRACE_LEVEL_DEBUG +#define MBED_TRACE_MAX_LEVEL TRACE_LEVEL_INFO #endif //usage macros: