Usage patterns
履歴を消すto delete a history/log (e.g. browsing history)
I cleared the browser history.
履歴が残るfor a record/log to remain
A log of the operations remains on the computer.
履歴を確認するto check a log or record
I checked the logs to investigate the cause of the error.
履歴に傷がつくfor one's (career) record to be tarnished
A single mistake left a blemish on his record.
〈事〉の履歴があるto have a history/record of doing something
He has a history of changing jobs.