removed extra code for 'org.mortbay' loggers
seems to me this just logs less; let's not do that in code - we can control loglevel of org.eclipse with -D options just fine.
This commit is contained in:
parent
578c654541
commit
d8757f6aa3
1 changed files with 2 additions and 8 deletions
|
@ -66,15 +66,9 @@ public class Logging extends LogFactory {
|
|||
// normalize log name
|
||||
logname = logname.replaceAll("[^\\w\\d\\.]", "");
|
||||
if ("console".equals(logdir)) {
|
||||
if (logname.startsWith("org.mortbay."))
|
||||
return getConsoleLog().getSedatedLog();
|
||||
else
|
||||
return getConsoleLog();
|
||||
return getConsoleLog();
|
||||
} else {
|
||||
if (logname.startsWith("org.mortbay."))
|
||||
return getFileLog(logname).getSedatedLog();
|
||||
else
|
||||
return getFileLog(logname);
|
||||
return getFileLog(logname);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue