extract log config to constants