Gas fireplace, “log” placement, and flame flare up
If I were you I would stop using the fireplace until a detailed inspection has been done of the gas piping and gas jet manifold. It would appear that there is a gas leak coming from part of the piping assembly. This could be from a loose or dried out pipe joint or some malfunction part of the gas jet system.

From the appearance of the picture I would venture to guess that this could be a pretty dangerous situation until it is fixed.