public static Logger getLogger() { final Throwable t = new Throwable(); final StackTraceElement methodCaller = t.getStackTrace()[1]; final Logger logger
I prefer creating a (static) Logger for each class (with it's explicit class name). I than use the logger as is.