log config debug function