Add browser error logging to server
Added unit test for log service