add logging to show appname