change logger to fmt