In the days before Aaron Alexis called the police in Newport, R.I., to complain that he was hearing voices sent by a “microwave machine,” employees at the Residence Inn in nearby Middletown were struggling to cope with his behavior.

Daily logs kept by the hotel detailed how on successive nights, he knocked on doors to find the voices, woke up a person in one room and frightened another so badly she asked to move. Then came a call from his employer.

“Brenda from The Experts Inc. called re: Mr. Alexis in 407,” a Residence Inn employee noted in a log dated Aug. 7 that was reviewed by The New York Times.

“She explained that he is unstable and the company is bringing him home,” the entry continued. “She asked me to check the room (it was vacant), and check him out.”