Added ability to clear logs