Clean Logs on Disk

Hello,
I’d like to know the way to clean the logs on Disk.
I have enabled logging on disk and now I want to clean that log, in order to free up the space on HDD.
How can I Do ?

I Use ROS 3.17 on x86.

Thanks with the best Regards
Karapet Aznavuryan

does setting the “log lines” to “1” help?

I think it is done.
Now when I look at logs on Disk, I see just 1 line.

Thanks

When logs are saved on disk, where do I find them?

Same as before - ‘/log print’

the only difference is that they don’t clear after reboot