Fix logging with atom