Fix log2db converter