Refactor collector test, changed create_logger method to a function
Refactor collector test, changed create_logger method to a function

It's a just a helper function to create a logger to attach to the socket
server and is not used that mush (mostly for debugging in tests for me).

farzadghanei/navdoon