Replaced print with logging and limit the line width to 79 in bookkeeper