Fix server logging