This is an automated email from the ASF dual-hosted git repository.
rgoers pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/flume.git
The following commit(s) were added to refs/heads/trunk by this push:
new d3ea4ce Set local host name
d3ea4ce is described below
commit d3ea4ceff13bbbf2e0767e1d36ccce1c14ed6a54
Author: Ralph Goers <[email protected]>
AuthorDate: Thu Jan 27 01:12:21 2022 -0700
Set local host name
---
.travis.yml | 5 ++++-
.../src/main/java/org/apache/flume/node/HttpConfigurationSource.java | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index ea05d30..14a9902 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,7 +20,10 @@ language: generic
env:
global:
-
+addons:
+ hosts:
+ - localhost
+
jobs:
include:
- name: "Linux amd64"
diff --git
a/flume-ng-node/src/main/java/org/apache/flume/node/HttpConfigurationSource.java
b/flume-ng-node/src/main/java/org/apache/flume/node/HttpConfigurationSource.java
index 0c2896a..2fd9f0e 100644
---
a/flume-ng-node/src/main/java/org/apache/flume/node/HttpConfigurationSource.java
+++
b/flume-ng-node/src/main/java/org/apache/flume/node/HttpConfigurationSource.java
@@ -107,7 +107,7 @@ public class HttpConfigurationSource implements
ConfigurationSource {
case OK: {
try (InputStream is = connection.getInputStream()) {
lastModified = connection.getLastModified();
- LOGGER.debug("Content was modified for {}", uri.toString());
+ LOGGER.debug("Content was modified for {}. lastModified: {}",
uri.toString(), lastModified);
data = IOUtils.toByteArray(is);
return true;
} catch (final IOException e) {