Currently, the diary only starts after the version and the input arguments have been printed. That way, important information is missing when calling a mod-file with command-line switches.
Designs
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
Yes, I want it to consistently contain the output. Now I have
Starting preprocessing of the model file ...WARNING: A parameter was used with a lead or a lag in the model blockSubstitution of endo leads >= 2: added 2 auxiliary variables and equations.Substitution of endo lags >= 2: added 2 auxiliary variables and equations.Found 48 equation(s).Evaluating expressions...doneComputing static model derivatives (order 1).Computing dynamic model derivatives (order 3).Processing outputs ...donePreprocessing completed.
instead of the full
Using 64-bit preprocessorStarting Dynare (version 4.6.2).Calling Dynare with arguments: -Dsticky_prices=1 Starting preprocessing of the model file ...WARNING: A parameter was used with a lead or a lag in the model blockSubstitution of endo leads >= 2: added 2 auxiliary variables and equations.Substitution of endo lags >= 2: added 2 auxiliary variables and equations.Found 48 equation(s).Evaluating expressions...doneComputing static model derivatives (order 1).Computing dynamic model derivatives (order 3).Processing outputs ...donePreprocessing completed.```
Actually the lines that you want to have included are not generated by the preprocessor, but by dynare.m. That means that the call to diary has to be moved there.