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

**URL:** <https://forum.robotframework.org/t/log-html-report-does-not-show-debug-if-using-python-code/6200>\
**Category:** Robot Framework\
**Created:** [11 September 2023 13:37 UTC](https://forum.robotframework.org/t/log-html-report-does-not-show-debug-if-using-python-code/6200 "2023-09-11T13:37:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![camilb](https://avatars.discourse-cdn.com/v4/letter/c/c57346/32.png) [@camilb](https://forum.robotframework.org/u/camilb)\
**Post date:** [11 September 2023 13:37 UTC](https://forum.robotframework.org/t/log-html-report-does-not-show-debug-if-using-python-code/6200/1 "2023-09-11T13:37:28Z")

</div>

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?
