refactoring getlog method
fixing 'snowball path' business.  will need to refactor this more later...