As you light the pilot under the burner with the log lighter, turn the dial on the gas valve to the pilot position. If you hold the pilot button down, the gas supply to the pilot light will be cut.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.