Export custom flag PT_409
when running locally to log in plain text and write output into log.txt
file
PT_409="1" python prod.py
Output should look like this:
2021-05-13 19:05:25,506+0200 — INFO — main:32 — Hello - {'context': {'device_id': '11e9034354f', 'device_location': 'London'}} - -