Update logging usage with parameterization