A logger that keeps log history