Updated Log to be used and respect encoding