remove duplication in log config