Skip to content

Commit 0b4d2d2

Browse files
committed
Correct log bug in 00_run.do
1 parent 26aa332 commit 0b4d2d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

do_files/00_run.do

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ global figures "${outputs}/figures"
126126

127127
// Open log file now that paths are defined
128128
capture log close
129-
log using "${logs}/00_run.log", replace
129+
log using "${logs}/00_run.log", replace name(master)
130130

131131
* %%
132132
/*==============================================================================
@@ -281,7 +281,7 @@ di " - logs/ (log files)"
281281
di "{hline 80}"
282282

283283
// Close log file
284-
log close
284+
log close master
285285

286286
// Clean up: Remove automatic log file created by Stata batch mode
287287
// This removes the unwanted 00_run.log from the root directory

0 commit comments

Comments
 (0)