logging in encoding_helper