Skip to content

Do not log requests in production #8

Description

@gldraphael

User inputs are currently being logged in the classifier pyworker:

user_input_values = [request.sex.name.lower(),request.age,request.height,request.weight,False,False,request.veg_in_meals,request.num_meals,request.food_bw_meals.name.lower(),request.is_smoker,request.water_intake,request.monitors_calories,request.physical_act_freq,request.screen_time,request.alcohol_freq.name.lower(),request.transportation.name.lower()]
print(user_input_values)

This either needs to be removed, or needs to be logged as level=debug so we don't end up logging user requests on production.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions