Added log_range to tools.