fixed an issue with log_roll()

function could not get the right information because of a wrong log-path