swap some logging