After reviewing the code, I don’t believe this is possible.
That message is being logged at the ERROR level (“E/CouchbaseLite”).
The only way to print that message is with the method ConsoleLogger.doLog, and the only call to ConsoleLogger.doLog is here:
public void log(@NonNull LogLevel level, @NonNull LogDomain domain, @NonNull String message) {
if ((level.compareTo(logLevel) < 0) || (!logDomains.contains(domain))) { return; }
doLog(level, domain, message);
}
If you’ve actually set logLevel
to NONE, that message will not be logged.
Are you sure you didn’t change the log level, somewhere else?