remove stray legacy logging code

This PR fixes some left over legacy logging code that triggers an error when development is on.

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | no
| Fixed tickets |  #1154
| Refs tickets  | #1150
| License       | MIT
| Doc PR        | 

-Mark