David Cameron has ordered a review of the London 2012 Olympics and Paralympics to ensure that the Government learns from the successes of the events' organisation.

The aim of the exercise, to be co-ordinated by Cabinet Secretary Sir Jeremy Heywood, is to gather the experience of government agencies and departments involved in the Games and ensure that lessons learnt during the summer are not lost, said the Prime Minister's official spokesman.

Asked whether Mr Cameron is frustrated that London mayor Boris Johnson seems to be reaping much of the credit for the successful Games, the spokesman told a daily media briefing in Westminster: "I think most people recognise that putting on the Olympics was a huge task that involved thousands of people, not least tens of thousands of volunteers, so it is an effort involving the whole country.

"I don't think it is for me to comment on the popularity or otherwise of particular politicians."

Examples of the issues to be considered are the handling of border checks on some of the busiest days Heathrow has ever experienced, the way in which police and the military worked together on security and the new measures undertaken by police in monitoring social media for public order purposes.

"The Olympics was a very large event and a huge logistical challenge and forced the Government to do certain things it wouldn't normally have to do," the PM's spokesman said.

"There are a whole range of things that we have done in the context of the Olympics that we are keen to work on and build on as we move forward.

"There will be an exercise, co-ordinated by the Cabinet Secretary, to ensure we are retaining that information and learning the lessons from the Olympics and building on where things went well.

"With such a huge logistical exercise, we have had to think very hard about how we co-ordinated different bits of government, agencies and departments. There are lots of risks involved in putting on a project of that kind and, in almost all cases, those risks were effectively mitigated. We should learn from what went well."

The exercise was discussed at this morning's weekly meeting of Cabinet and will take place over the coming period, although its results will not be published.