add log utility and test module