The log server can be used to capture the logs emitted, when initialized in LogToSocket mode. To use logging to a socket:
Start the log server at the destination machine. The log server (log_server.py) requires python. (by default the log server will bind to port 50007. However, specific port can be specified as the first argument to the log server python script)