You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When updating the preferences (year specifically) spams the log:
This is most likely due to the iteration of every single existing year, and setting active to false even if it is already false. Should be resolved by adding an if statement ignoring any inactive years, and reducing the log spam quite significantly.
The text was updated successfully, but these errors were encountered:
Appears that when saving the Preference model, a log item is forced even with the log_it=False flag, as can be seen here. I don't see any reason why it would be forced like this?
This is at least what causes the log spam, since the flag is set to false in the preference form.
When updating the preferences (year specifically) spams the log:
This is most likely due to the iteration of every single existing year, and setting active to false even if it is already false. Should be resolved by adding an if statement ignoring any inactive years, and reducing the log spam quite significantly.
The text was updated successfully, but these errors were encountered: