add mongo config
log(in|out)
mergin