Clear log buffer after each page refresh.