git middleware for book logging framework