Fixed custom log setting bug