Changeset 33b2d834 for core/java


Ignore:
Timestamp:
Mar 8, 2018 9:41:24 PM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
9dcf48ea
Parents:
fac4f6c
Message:

Log: Default level is ERROR if no match

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/util/Log.java

    rfac4f6c r33b2d834  
    4646
    4747    public static int getLevel(String level) {
    48         if (level == null) return Log.CRIT;
     48        if (level == null) return ERROR;
    4949        level = level.toUpperCase(Locale.US);
    5050        if (STR_DEBUG.startsWith(level)) return DEBUG;
     
    5353        if (STR_ERROR.startsWith(level)) return ERROR;
    5454        if (STR_CRIT.startsWith(level)) return CRIT;
    55         return CRIT;
     55        return ERROR;
    5656    }
    5757
Note: See TracChangeset for help on using the changeset viewer.