Issue #3101818 by eiriksm, ravi.shankar, longwave: Allow other loggers than core loggers to FieldDiscovery.php (cherry picked from commit 0a7c6dc9)