added server logging