Why can't the added topic write logs?

Hi, I want to add custom logs to px4, when I put add_topic to add_default_topics(), it can write logs successfully, however, when I put add_high_rate_topics(), it can’t write logs, what happened?
image

For high rate topics, you need to have high rate enabled in SDLOG_PROFILE.

Thanks for your reply, but how do I enable it in SITL?

You have to set the parameter in SITL, e.g. using QGroundControl, or in nsh> param set SDLOG_PROFILE 17 (1 for default + 2^4 for high rate).