Hi,
You can filter printed messages from your R/Python code by keeping only the lines with "[dku.utils]". As other messages may appear with this filter, I would also recommend prefixing your printed messages by an identifier such as "[CUSTOM-CODE-MESSAGE] foo bar etc".
Hope it helps,
Alex