logger based on default log: wip
mongo output driver
msg improment and some fixes in writer