Added logging and persistent completed_posts