Add limit to logs browser

Hi,
I was missing a function to show more than default log size. I changed the code to enable passing in limit=<num> to show desired number of logs.