Add basic configuration of logging
Emit events via SocketIO