change generation of timestamp in logger class