Any member of the armed forces who believes himself wronged by his commanding officer, and who, upon due application to that commanding officer, is refused redress, may complain to any superior commissioned officer, who shall forward the complaint to the officer exercising general court-martial jurisdiction over the officer against whom it is made. The officer exercising general court-martial jurisdiction shall examine into the complaint and take proper measures for redressing the wrong complained of; and he shall, as soon as possible, send to the Secretary concerned a true statement of that complaint, with the proceedings had thereon.