GrailsInAction / graina2

Source code for the 2nd edition of Grails in Action
90 stars 92 forks source link

What controls the number of lines kept in the grails console? #22

Open philfriesen opened 11 years ago

philfriesen commented 11 years ago

After making all the Hibernate logging changes in section 5.2.2, I noticed that only the last 600 lines that Hibernate logged showed up in the console output. I cannot see what Hibernate logged in the first few hundred lines. How can I configure the console to retain all/more lines so I can spot problems earlier in scripts? Thanks.

pledbrook commented 11 years ago

I suspect this is down to the terminal that you're using. Is it the Windows command prompt? Mac OS X Terminal? Gnome Terminal? Each has its own settings for changing the buffer size, i.e. how many lines of output it keeps.