Refactoring log. Adding possibility to ignore paths