Added option to clear debugging logs