basic log setup, app setup