Socket logger