add more logging for gitbook
fix logging formatting