Add logWindow

Add logWindow