Beans frank.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2746 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -78,8 +78,8 @@ public class OneLineLogFormatter extends Formatter
|
|||||||
// strip the package name from the logging class
|
// strip the package name from the logging class
|
||||||
where = where.substring(where.lastIndexOf(".")+1);
|
where = where.substring(where.lastIndexOf(".")+1);
|
||||||
// handle legacy log usage patterns
|
// handle legacy log usage patterns
|
||||||
useLoggerName = !(where.equals("Log") || where.equals("LoggingLogProvider") ||
|
useLoggerName = (where.equals("Log") || where.equals("LoggingLogProvider") ||
|
||||||
where.startsWith("JDK14Logger$Impl"));
|
where.startsWith("JDK14Logger$Impl"));
|
||||||
}
|
}
|
||||||
if (useLoggerName) {
|
if (useLoggerName) {
|
||||||
where = record.getLoggerName();
|
where = record.getLoggerName();
|
||||||
|
|||||||
Reference in New Issue
Block a user