DEBUG and TRACE logs are not displayed

Hello, everyone,
I’m new to the forum and have a problem for which I haven’t been able to find a solution: I’ve set the log level to TRACE for the logger group “openhab.rule”. But if I enter “log:tail openhab.rule” in the console, I only get ERROR, WARNING and INFO logs. What do I have to do so that I can also see DEBUG and TRACE logs?
I’m using openHAB 3.1 on a rasPi

Thanks for your help!

Could you explain a bit more in detail what you would like to achieve, please ?
My understanding is that you use script rules that you would like to debug and trace.
As far as I understand then you need to set

log:set TRACE org.openhab.core.model.script

Thanks for the answer. I had already set the log level to TRACE (see screenshot). But only INFO logs come out. And that although my rule also outputs a lot of TRACE logs.
I just want to debug my rule using TRACE logs for it.!
Screenshot 2021-11-28 173257|496x317

Maybe share an example of the log output of the rule you are trying to debug?

I think you are mising the part that is in front of openhab.rule. Because that is a long string in the log file/console log it is cut off and you only see the tail of the long string which is openhab.rule…
What do you get if you enter in the karaf console:
list -s | grep rule
Do you also see an entry that contains openhab.rule besides the short one that you may have added.