Stata - Log Files
Log files keep a record of the command statements you enter and Stata’s output. Specifying a filename saves the log to a file; saving as a log format rather than the default SMCL format will allow you to open the log in other applications (such as Microsoft Word or Notepad).
A log file can be opened or started in two ways:
The Replace option overwrites the log file.
Append adds to it.
On or Off option turns the logging on or off in the middle of a session.
The Close option closes the log file.
Stata manuals are available for reference in the Baker/Berry Library.