Skip to contentSkip to conversation

Enable SDP logging

DISCUSSION Amisha Jain (QUIC) 1 participant 1 message Oct 29, 2025 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi,
I need help to enable SDP logging when '-d' option is set.
In most sdp related code files, there are 'SDPDBG()' logs added but we cannot see these prints while collecting logs. Additionally, these logs depending on below macro to be defined -

#ifdef SDP_DEBUG
#define SDPDBG(fmt, arg...) syslog(LOG_DEBUG, "%s: " fmt "\n", __func__ , ## arg) #else
#define SDPDBG(fmt...)
#endif

But this macro 'SDP_DEBUG' is not defined in any file.
Is there any way to enable logs without need to change or update code locally.

Thanks,
Amisha