0

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?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Bob Toney
  • 13
  • 3

1 Answers1

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

Community
  • 1
  • 1
mhu
  • 17,720
  • 10
  • 62
  • 93