ideafast / middleware-services

Python API containing endpoints for smartphone hub applications and transfer to data portal
0 stars 0 forks source link

Refer to logging configuration via config path #51

Closed jawrainey closed 3 years ago

jawrainey commented 3 years ago

The location of the logging fle is hardcoded and can therefore be invalid depending on where the python script is run from. Instead, I have moved this path into config and used the root_path as needed. This resolves a 🐛 in current master. To reproduce:

  1. Build docker image locally and run pipeline -- note it fails
  2. Switch to this branch and run pipeline -- note success.