Fix logging errors for user-agent test
Merge pull request #176 from jonallengriffin/useragentfix

Fix logging errors for user-agent test