Any way to clear the openhab.log while running?

Have you had a look at the logback documentation? It is very thorough with examples and detailed explanations. Google is your friend ;).