add logging in dashboard