You can solve the problem when adding to the header from bokeh import LogScale
. And add a line to your code: p3.extra_y_scales = {"log": LogScale()}
You can also have a glance to this post:
Twin Axis with linear and logarithmic scale using bokeh plot Python