Building the app with the factory data provider (CONFIG_CHIP_FACTORY_DATA), active logging for Matter (CONFIG_MATTER_LOG_LEVEL_DBG) and immediate logging (CONFIG_LOG_MODE_IMMEDIATE), I'll get a linker error:
modules/lib/matter/src/platform/nrfconnect/FactoryDataParser.c:146: undefined reference to `log_dynamic_app'
This happens in the build step Linking CXX executable zephyr/zephyr_pre0.elf
The problem can be solved by registering a module with the name "app" which is used in LOG_MODULE_DECLARE of the FactoryDataParser.c. It would be nice to register an module name by itself, so the error can be resolved more easily, since the error message does not help to figure out the underlying problem.