change logger to the same as before