I updated TradeLogIB to support modern TWS / TWS API versions and added a support for automatic UTC to Local Time Zone conversion:
https://github.com/stenri/TradeLogIB
Check "TradeLogIB 4.0 notes" section documentation for a details on updating the script and TWS.