It is the capital of La Rioja . LogroÃ o is in the Ebro valley .
It is the capital of the autonomous community of La Rioja , formerly known as LogroÃ o Province .