Regenerate logs.