Remove logger from  abstract commit hook creation