added new submodule log_write