Logging and regeneration