Easy. Put a breakpoint on .. say.. LOG.info(...). Once debugger stops there, step into.. and viola.. you will find yourself in the code of the actual logger... say log4j or logback.. whatever.
Serious answer. JVM picks up from classpath in order. Say if it encounters java.util.logging first, it will look for logging.properties configuration file. If all is well, it will use this and look no further. If not, then it will go ahead and say, find log4j.jar. JVM will look for log4j.xml. If all set, no mistakes, then this wil be selected, and so on.
You can also give hints to JVM on which configuration file to use so that the particular logger gets selected, using -D vm args. Each logger has its own.