Anti-terrorism prosecutors took charge of the investigation and French President Francois Hollande said the assailant would be questioned "when it is possible to do so". One of the soldiers was slightly injured on his scalp.
French police secure the site near the Louvre Pyramid in Paris after a French soldier shot and wounded a man armed with a knife.
From an European Union summit in Malta, French President Francois Hollande said there was "no doubt" the attack was terrorist in nature.
A French soldier is thought to have opened fire at a man who tried to enter the world-famous museum with a suitcase - what else do we know?
Lefebvre says police found two machetes on the man.
He added that the bags the man had been carrying contained no explosives.
Alexandre Bissonnette, the man charged with killing six people in that attack, is known for his far-right views, and reportedly "liked" US President Donald Trump and French National Front leader Marine Le Pen on Facebook.
Microsoft, Amazon, Expedia Join Washington AG, Take Trump's Ban to Court
The company is providing legal counsel and immigration services to all employees affected by Trump's order, he said. On Monday, Reuters reported that Microsoft would also be cooperating with the attorney general's office as well.
According to Cadot, remarks made by the suspect led security forces to believe he wanted to carry out a terrorist attack. Five shots were fired by soldiers.
The attack at an entrance to a shopping mall that extends beneath the museum sowed panic and again highlighted the threat French officials say hangs over the country, which was hit repeatedly by extremist attacks in 2015 and 2016. The post-Bataclan response also worked in other ways: visitors were taken to safe spaces within the Louvre, with pictures on social media showing people huddled on the floor as they waited to be safely evacuated.
"This event reminds us that the threat is here and security is everyone's concern", Brandet said, according to a tweet from the interior ministry.
As of 10:22 a.m. local time, Paris transit officials tweeted that the Palais Royal Louvre Museum subway stop was closed due to a "security measure".
The attack happened in the tourist centre of the city.
France has been under a state of emergency since the Paris terror attacks in November 2015, which left 130 people dead.
In January 2015, 17 people were killed when gunmen attacked the offices of satirical newspaper Charlie Hedbo in the French capital and customers at a Jewish supermarket.