more efficient log drain instead of poll()
Merge branch 'master' of github.com:araqne/logdb