diff --git a/src/lib/support/logging/Constants.h b/src/lib/support/logging/Constants.h index 6a176b02eb1389..badc112202c277 100644 --- a/src/lib/support/logging/Constants.h +++ b/src/lib/support/logging/Constants.h @@ -60,6 +60,7 @@ enum LogModule kLogModule_Automation, kLogModule_CASESessionManager, kLogModule_ICD, + kLogModule_FabricSync, kLogModule_Max }; @@ -231,6 +232,10 @@ enum LogModule #define CHIP_CONFIG_LOG_MODULE_ICD 1 #endif +#ifndef CHIP_CONFIG_LOG_MODULE_FabricSync +#define CHIP_CONFIG_LOG_MODULE_FabricSync 1 +#endif + /** * @enum LogCategory * diff --git a/src/lib/support/logging/TextOnlyLogging.cpp b/src/lib/support/logging/TextOnlyLogging.cpp index eb7065f2d938d4..0e420140524662 100644 --- a/src/lib/support/logging/TextOnlyLogging.cpp +++ b/src/lib/support/logging/TextOnlyLogging.cpp @@ -149,6 +149,8 @@ static const char ModuleNames[kLogModule_Max][kMaxModuleNameLen + 1] = { "OSS", // OperationalSessionSetup "ATM", // Automation "CSM", // CASESessionManager + "ICD", // ICD + "FS", // FabricSync }; } // namespace