Log encoding output even when debug mode is enabled