getting logs