Locate the valve that controls the gas flow to the gas logs and turn it off. Spray the area with the soap solution where the pilot light burns and watch for bubbles. If they appear, it means there is a leak in the gas line and it needs to be checked by a professional plumber or your gas company.
Examine the gas control valve for the pilot light. This should be to one side of the burner assembly, toward the front of the fireplace. In some cases, you will need to turn the control knob to a certain spot (usually marked) and will have to push the knob in. This allows gas to escape the combustion chamber of the gas logs.
Turn the gas control knob to the appropriate the pilot position and push it in, if needed. Then, push the igniter button on the gas log. This causes sparks at the area of the pilot light. Hold the knob in the pilot position for the manufacturer's predetermined amount of time before turning the knob to the "on" position. If the model you own has no igniter button, go to Steps 4 and 5.
Place a lighted fireplace match or multipurpose butane lighter at the point of the gas line where the pilot light burns. Push the knob in to allow gas to flow to the pilot light area.
Hold the match or lighter in place until you see the pilot light start to burn. Remove the match or lighter and check that the pilot light stays on. Once it has been on for the length of time determined by the gas log manufacturer, turn the knob from "pilot" to "on" o allow a normal flow of gas to the burner.