but the question is can you simply delete the contents of the log folder
Not a good idea. Some services won't start if the log file is not avaiable. You can delete everything which is compressed (gz)
Follow this guide to see what is filling your os filesystem:
[How-To] Fix full OS filesystem - GUI login loop - Guides - openmediavault