I’ve deployed a JBoss 7.1 application on OpenShift. Now I have to examine the log file but with the tail -f -n 100 jbossas-7/logs/server.log command I see only the last 10 rows of the log file. There is a way to view whole file? Can I download it?
Thank you!
Edit
Sorry, I haven’t explained well. I meant that I wasn’t able to view more rows from the rhc-tail-file tool. Sorry! I have solved my problem using ssh client Putty and less command. Thank you for your replies.
You can use the
-ooption withrhc tailto pass the-noption to tail:Notice, there is no space in ‘-n100’.