Logging was calling wrong function name, could have crashed PZH

Jira Issue: WP-1069