Correct logging call position. Update submod