add clearLog command from java