Click on Classic TWS tab at the bottom-left of your TWS window.
Click on menu Account and select Trade Log.
In the upper-left part of the Trade Log window you can select Show trades for: a specific number of days, up to the last 7 days.
This setting will be reflected in the Trades window as well.