Thanks for your answer. :)
I use the prefect logger to write warnings (not the python module itself).
This will look as attached in the log (ui). So i guess its the right way.
I'm asking, because there are other tools, they also reflects warnings. For a monitor person this is pretty useful. To see: oh it worked, but there are some warnings. not that urgent, like there would be some errors.