fix crash when there are no params
add a sentinel to the log line