private static void logFailure(String method, boolean warn, Throwable cause) {
            cause = Exceptions.peel(cause);
            if (cause instanceof UnsupportedOperationException ||
                cause instanceof SecurityException ||
                cause instanceof IllegalAccessException) {
                logger.debug("An access to {} not possible due to platform restriction:", method, cause);
                return;
            }

            final String msg = "Failed to retrieve the current PID from {}:";
            if (warn) {
                logger.warn(msg, method, cause);
            } else {
                logger.debug(msg, method, cause);
            }
        }
Returns {@code true} if the operating system is Linux.
core/src/main/java/com/linecorp/armeria/common/util/SystemInfo.java