getting logs from server