Skip to content

Conversation

@NodeJSmith
Copy link
Owner

  • closes Pydantic validation errors on older workouts - v0.15.0 #100
  • add more logging, especially where filtering/removal of records happens
  • add logic to dump raw response if OTF_LOG_RAW_RESPONSE env var is set to true
    • only logging at DEBUG level so need to have that set too, which can be done with OTF_LOG_LEVEL env var
  • add coloredlogs package to make logs easier to read
  • remove headers from request log
  • change log format structure slightly, use % formatting
  • change some log lines to use % to avoid calling methods/converting to string when not logging at that level
  • relax data type on PerformanceMetric class, remove custom parsing, was not useful

@NodeJSmith NodeJSmith merged commit fa9def4 into main Jul 26, 2025
2 checks passed
@NodeJSmith NodeJSmith deleted the fix/fix_performance_metric_and_add_logging branch July 26, 2025 20:48
@mphuff
Copy link
Contributor

mphuff commented Jul 27, 2025

Thank you for the quick turnaround! I will pull this in hopefully later tonight and let you know on my end how it looks.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pydantic validation errors on older workouts - v0.15.0

3 participants