server: added logging