279 Fix log encoding