in src/main/java/com/spotify/logging/logback/SpotifyInternalAppender.java [76:92]
private void checkSetPort(@Nullable String environmentValue) {
if (environmentValue == null || portConfigured) {
return;
}
try {
setPort(Integer.parseInt(environmentValue));
} catch (NumberFormatException e) {
throw new IllegalArgumentException(
"unable to parse value for \""
+ LoggingConfigurator.SPOTIFY_SYSLOG_PORT
+ "\" ("
+ environmentValue
+ ") as an int",
e);
}
}