Clear logs functionality