In the current paper, a generalized nonlinear Schrödinger (gNLS) equation with logarithmic nonlinearity is studied as a model for the propagation of optical pulses. More precisely, after applying a specific hypothesis for the solution of the governing equation, its Gaussian solitary wave is retrieved using the ansatz method. Some numerical simulations in two- and three-dimensional postures are presented to investigate the impact of different physical parameters on Gaussian solitary wave’ dynamics. Results confirm that the physical parameters of the gNLS equation have a key role in controlling the dynamics of the Gaussian solitary wave.