Fixed logger compile and SOD