Influx grammar fix: group by and where may appear in any order
Added log4j config file for tests