Fixed getting logs