Log.html Report does not show DEBUG if using python code

Hi all,

i have a lot of RF test cases and RF tasks.
One nice thing i use is this line:

Set Log Level DEBUG

Doing this i can open the generated log.html file using a web browser and then i see in the upper right corner a drop down where you can switch the Report Log Level from INFO to DEBUG.

So far so good. But it seems that if i use python code in my rf task then the DEBUG is not showing in log.html anymore. Is this known?