/** log interface configuration at debug level, if its enabled */ public static void logIfNecessary() { if (logger.isDebugEnabled()) { try { doLogging(); } catch (IOException e) { logger.warn("unable to gather network information", e); } } }
if (address.getAddress() instanceof Inet6Address == false) { msg.append(INDENT); msg.append(formatAddress(address)); msg.append(System.lineSeparator()); if (address.getAddress() instanceof Inet6Address) { msg.append(INDENT); msg.append(formatAddress(address)); msg.append(System.lineSeparator()); msg.append(formatFlags(nic)); msg.append(System.lineSeparator());
public NetworkService(Settings settings, List<CustomNameResolver> customNameResolvers) { super(settings); IfConfig.logIfNecessary(); this.customNameResolvers = customNameResolvers; }
if (address.getAddress() instanceof Inet6Address == false) { msg.append(INDENT); msg.append(formatAddress(address)); msg.append(System.lineSeparator()); if (address.getAddress() instanceof Inet6Address) { msg.append(INDENT); msg.append(formatAddress(address)); msg.append(System.lineSeparator()); msg.append(formatFlags(nic)); msg.append(System.lineSeparator());
/** log interface configuration at debug level, if its enabled */ static void logIfNecessary() { if (logger.isDebugEnabled()) { try { doLogging(); } catch (IOException | SecurityException e) { logger.warn("unable to gather network information", e); } } }
@Inject public NetworkService(Settings settings) { super(settings); IfConfig.logIfNecessary(); }
if (address.getAddress() instanceof Inet6Address == false) { msg.append(INDENT); msg.append(formatAddress(address)); msg.append(System.lineSeparator()); if (address.getAddress() instanceof Inet6Address) { msg.append(INDENT); msg.append(formatAddress(address)); msg.append(System.lineSeparator()); msg.append(formatFlags(nic)); msg.append(System.lineSeparator());
/** log interface configuration at debug level, if its enabled */ public static void logIfNecessary() { if (logger.isDebugEnabled()) { try { doLogging(); } catch (IOException e) { logger.warn("unable to gather network information", e); } } }
IfConfig.logIfNecessary();
if (address.getAddress() instanceof Inet6Address == false) { msg.append(INDENT); msg.append(formatAddress(address)); msg.append(System.lineSeparator()); if (address.getAddress() instanceof Inet6Address) { msg.append(INDENT); msg.append(formatAddress(address)); msg.append(System.lineSeparator()); msg.append(formatFlags(nic)); msg.append(System.lineSeparator());
/** log interface configuration at debug level, if its enabled */ public static void logIfNecessary() { if (logger.isDebugEnabled()) { try { doLogging(); } catch (IOException e) { logger.warn("unable to gather network information", e); } } }
IfConfig.logIfNecessary();
if (address.getAddress() instanceof Inet6Address == false) { msg.append(INDENT); msg.append(formatAddress(address)); msg.append(System.lineSeparator()); if (address.getAddress() instanceof Inet6Address) { msg.append(INDENT); msg.append(formatAddress(address)); msg.append(System.lineSeparator()); msg.append(formatFlags(nic)); msg.append(System.lineSeparator());
/** log interface configuration at debug level, if its enabled */ static void logIfNecessary() { if (logger.isDebugEnabled()) { try { doLogging(); } catch (IOException | SecurityException e) { logger.warn("unable to gather network information", e); } } }