Fixed issue with log formatter
Fixed compilation problem
Fixed issues #2892 and #2899