Added ClearLogs method