It could be a problem with the ignition, gas supply, or dirt. You know, gas logs can be used for many purposes but sometimes they need fixing. You can repair your broken gas log by just following the simple steps in this article.
Before you start, turn off the gas and let everything cool down. Also, make sure the room is well-ventilated. You can then try look for any damages. You should check for cracks or chips in the gas log. If you see any, fix them before they get worse.
However, in some cases, dust and dirt can mess up your gas log. Try cleaning the burner and pilot. You can use a soft brush or air to clean them gently. Also make sure that the gas valve is open and there's no blockage in the gas line, as this can obstruct gas supply.
For gas log that won't turn on, make sure you test the Ignition. If your gas log has a button to start it, make sure it works. Maybe, check thermocouple and thermopile. These are important parts. Make sure they're working by testing them with a tool called a multimeter. Turn on the gas and check if it's working.
It's a good idea to clean your gas log once a year to keep it working well. Just remember to stay safe and ask for help if you need it.