Added per-app logging