Log api test skeleton and refactoring.
Getting 405 from log resource.