presto-main/src/main/java/io/prestosql/server/remotetask/RequestErrorTracker.java/RequestErrorTracker/logError
class RequestErrorTracker:    static void logError(Throwable t, String format, Object... args)
    {
        if (isExpectedError(t)) {
            log.error(format + ": %s", ObjectArrays.concat(args, t));
        }
        else {
            log.error(t, format, args);
        }
    }