Chenged the timeformat of logger and uses the gmtime