app constraint when getting logs