Added soket functional for realtime log getting