Add logging facility
Fix month in logs
[log] add appname in logs
Merge branch 'log'