Added exec command to log mongo