disable log priority override for now

This commit is contained in:
zzz
2010-12-14 14:51:23 +00:00
parent 8bcfdc3c6e
commit f9c2624b24

View File

@ -108,8 +108,8 @@ public class Log {
public void log(int priority, String msg, Throwable t) {
// Boost the priority of NPE and friends so they get seen and reported
if (t != null && t instanceof RuntimeException && !(t instanceof IllegalArgumentException))
priority = CRIT;
//if (t != null && t instanceof RuntimeException && !(t instanceof IllegalArgumentException))
// priority = CRIT;
if (priority >= _minPriority) {
_manager.addRecord(new LogRecord(_class, _name,
Thread.currentThread().getName(), priority,