Solid lines in plot and grid lines

I have a plot which sweeps over a range shown below and the plots it on a log scale on the horizontal axis (I am using 5.2 so the log scale feature is present).

However, rather than points, I would like to see a solid line and,

Some grid lines on both the horizontal and vertical axis at the tick points.

Is there also a way to control the range on the vertical axis?

Here is the entire formulation. The range on the y-axis I would like to see labeled is from -5 to -25. I asked a question before using the formulation below but the scale did not was off due to the wrong operator being used so I did not ask that particular question at the time: