change the log macro at all files