When my application logs lots of lines to the Windows console, the first lines disappear and only the the latest lines are shown. Is it possible to get the first logs anywhere? Are they stored on the system anywhere?
Asked
Active
Viewed 2,148 times
0
-
My crystal ball is cloudy today, you should better post your script now. – Endoro May 12 '13 at 19:54
-
redirect the output to a file with yourapp.exe > logfile.txt – rene May 12 '13 at 20:04
1 Answers
1
Short answer: No.
However, depending on your access and need, you could:
Redirect the output of the application to a file:
myapp.exe 1>logfile.txt 2>&1
Pipe the output through more, to enable page-by-page viewing of the output:
myapp.exe | more
Increase the number of buffered (displayed) lines of your console window:
Open system menu of the command window (CTRL+SPACE) and select Properties and increase the Height of the Screen Buffer Size
Or programmatically: see this answer
-
thanks for the hint with the Properties, that is exactly what I was searching for – Bob Toney May 12 '13 at 22:38