add rate limit;
add log conf.
Merge pull request #377 from forumbyr/master

add rate limit;