fix compile error caused by wrong logger
add config file for travis ci