Debugging or logging custom component

I’m currently trying to write a custom component (which is not working yet) and I would like to log or debug to find the problem. How do I perform this ? I tried to use the logger python, but I can’t find where the log are (I’m just using the NLU part for now, which is on a docker container)

Thank you in advance

P.S : I can’t close my own topic apparently, but I found the problem (the log component returned before the log)

Could you please share your solution? I have the same issue

Well I don’t remember the bug, but I’m using the python logger :

import logging
logger = logging.getLogger(__name__)
logging.basicConfig(level='DEBUG')

and then

logger.info("LOG")
1 Like