better logging for app