Is it possible to log message payload in broker logs?
Could someone please know how to configure it if it is possible?
No, it is not possible to log individual message payloads in the broker logs.
@rdesoju there are a couple of reasons for this: first, because PubSub+ message rates are so high, we would fill these logs files very quickly. Another reason is that this breaks the security isolation of management and data planes - a management user would be able to see all message data. Yet another security issue is that you'd be storing message data unencrypted in the log.
Thank you @marc and @TomF !!
Yeah, it makes much more sense.