put config together
add log