Added timestamp logging