remove logger use outside of test

fixes the build
Merge pull request #123 from jrwren/v4

remove logger use outside of test

fixes the build