mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-04 18:12:54 +01:00
move common output to fine LOG level
- only visible in VERBOSE
This commit is contained in:
parent
e2f77aac18
commit
90b7d4b9b5
@ -486,7 +486,7 @@ public class Main {
|
||||
+ "For smali/baksmali info, see: https://github.com/JesusFreke/smali");
|
||||
}
|
||||
|
||||
private static void setupLogging(Verbosity verbosity) {
|
||||
private static void setupLogging(final Verbosity verbosity) {
|
||||
Logger logger = Logger.getLogger("");
|
||||
for (Handler handler : logger.getHandlers()) {
|
||||
logger.removeHandler(handler);
|
||||
@ -509,7 +509,13 @@ public class Main {
|
||||
if (record.getLevel().intValue() >= Level.WARNING.intValue()) {
|
||||
System.err.write(message.getBytes());
|
||||
} else {
|
||||
System.out.write(message.getBytes());
|
||||
if (record.getLevel().intValue() >= Level.INFO.intValue()) {
|
||||
System.out.write(message.getBytes());
|
||||
} else {
|
||||
if (verbosity == Verbosity.VERBOSE) {
|
||||
System.out.write(message.getBytes());
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (Exception exception) {
|
||||
reportError(null, exception, ErrorManager.FORMAT_FAILURE);
|
||||
|
@ -55,7 +55,7 @@ public class ResStyleValue extends ResBagValue implements
|
||||
ResResSpec spec = mItems[i].m1.getReferent();
|
||||
|
||||
if (spec == null) {
|
||||
LOGGER.info(String.format("null reference: m1=0x%08x(%s), m2=0x%08x(%s)",
|
||||
LOGGER.fine(String.format("null reference: m1=0x%08x(%s), m2=0x%08x(%s)",
|
||||
mItems[i].m1.getRawIntValue(), mItems[i].m1.getType(), mItems[i].m2.getRawIntValue(), mItems[i].m2.getType()));
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user