add log to tools