add some logging for app