mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
fix(logging): preserve arguments in network and TLS warnings (#8801)
This commit is contained in:
1 parent
33ed71437d
commit
11a16946b6
3 files changed
+4
-4
No files matched your search
@@ -433,7 +433,7 @@ public class TlsConfigSource implements ConfigSource {
|
||||
try {
|
||||
ContainerCaBundle.writeJavaTrustStore(bundle);
|
||||
} catch (Exception e) {
|
||||
LOG.warnv(e, "TLS: could not write the containers' Java trust store under {0}: {1}", tlsDir,
|
||||
LOG.warnv(e, "TLS: could not write the containers'' Java trust store under {0}: {1}", tlsDir,
|
||||
e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -195,7 +195,7 @@ public class CurrentContainerNetworkResolver {
|
||||
|| ContainerStorageHelper.NETWORK_LABEL_ALIASES.legacyValue(labels,
|
||||
ContainerStorageHelper.OWNER_LABEL) != null);
|
||||
} catch (Exception e) {
|
||||
LOG.warnv(e, "Could not inspect Docker network {0}, so it is not taken for Floci's own: {1}", networkName,
|
||||
LOG.warnv(e, "Could not inspect Docker network {0}, so it is not taken for Floci''s own: {1}", networkName,
|
||||
e.getMessage());
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -1430,8 +1430,8 @@ public class EmrClusterStorage implements ClusterStorage, ContainerTeardown {
|
||||
lifecycleManager.ensureConnected(floci.get(), network, FLOCI_ALIAS);
|
||||
return true;
|
||||
} catch (RuntimeException e) {
|
||||
LOG.warnv(e, "Could not connect Floci's container {0} to the Docker network {1}, so the Hive metastore"
|
||||
+ " on it may not reach Floci's S3: {2}", floci.get(), network, e.getMessage());
|
||||
LOG.warnv(e, "Could not connect Floci''s container {0} to the Docker network {1}, so the Hive metastore"
|
||||
+ " on it may not reach Floci''s S3: {2}", floci.get(), network, e.getMessage());
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user