1. python patch
2. logging