fix logging context
Merge branch 'cassandra-2.1' into trunk