Reafactor log endpoints and  collection.
Merge pull request #8 from brewfactory/feature/log-refactor

Refactor log endpoints and  collection.