Updated code for the LogServer