clear log on new app - close issue #280