disable log priority override for now
This commit is contained in:
@ -108,8 +108,8 @@ public class Log {
|
|||||||
|
|
||||||
public void log(int priority, String msg, Throwable t) {
|
public void log(int priority, String msg, Throwable t) {
|
||||||
// Boost the priority of NPE and friends so they get seen and reported
|
// Boost the priority of NPE and friends so they get seen and reported
|
||||||
if (t != null && t instanceof RuntimeException && !(t instanceof IllegalArgumentException))
|
//if (t != null && t instanceof RuntimeException && !(t instanceof IllegalArgumentException))
|
||||||
priority = CRIT;
|
// priority = CRIT;
|
||||||
if (priority >= _minPriority) {
|
if (priority >= _minPriority) {
|
||||||
_manager.addRecord(new LogRecord(_class, _name,
|
_manager.addRecord(new LogRecord(_class, _name,
|
||||||
Thread.currentThread().getName(), priority,
|
Thread.currentThread().getName(), priority,
|
||||||
|
Reference in New Issue
Block a user