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
503005eac8
commit
bb4e494ec6
1 changed files with 2 additions and 8 deletions
|
@ -66,14 +66,8 @@ public class Logging extends LogFactory {
|
||||||
// normalize log name
|
// normalize log name
|
||||||
logname = logname.replaceAll("[^\\w\\d\\.]", "");
|
logname = logname.replaceAll("[^\\w\\d\\.]", "");
|
||||||
if ("console".equals(logdir)) {
|
if ("console".equals(logdir)) {
|
||||||
if (logname.startsWith("org.mortbay."))
|
|
||||||
return getConsoleLog().getSedatedLog();
|
|
||||||
else
|
|
||||||
return getConsoleLog();
|
return getConsoleLog();
|
||||||
} else {
|
} 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