Making getLogger search more flexible