Reflected changes in sp_log, which has been renamed/relogic'ed to
sp_write.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>