DP-127 Fixed a logging bug and updated another camelcased var