Log messages to a file(with stamp in the filename)