Added server logging part