fixed so that it only gets the last N logs from the db in the beginning
Merge branch 'master' of github.com:iernie/nodebot-web