Differences between revisions 3 and 5 (spanning 2 versions)
Revision 3 as of 2021-03-16 18:29:07
Size: 511
Comment:
Revision 5 as of 2023-06-07 20:25:05
Size: 516
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from StataLogs ## page was renamed from Stata/LogFiles

Log Files

Stata outputs to a terminal emulator. Output can be recorded into a markup file, which can be rendered into file formats including raw text.


Built-in Logging

log using "path/to/file", replace

// do something

log off
di "Rather than running commands `quietly`, temporarily turn off logging.
log on

// do something else

log close
translate "path/to/file.smcl" "path/to/file.log"


CategoryRicottone

Stata/Log (last edited 2025-10-24 17:27:01 by DominicRicottone)