Skip to content

Commit

Permalink
Update inlong-agent/agent-plugins/src/main/java/org/apache/inlong/age…
Browse files Browse the repository at this point in the history
…nt/plugin/utils/regex/FileTask.java

Co-authored-by: AloysZhang <[email protected]>
  • Loading branch information
justinwwhuang and aloyszhang authored Dec 30, 2024
1 parent b2171aa commit 9ed81a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ public synchronized void dealWithWatchEntity(String originPattern) {
private void dealWithWatchKey(org.apache.inlong.agent.plugin.task.logcollection.local.WatchEntity entity,
WatchKey key) throws IOException {
Path contextPath = entity.getPath(key);
LOGGER.info("Find creation events in path: " + contextPath.toAbsolutePath());
LOGGER.info("Find creation events in path: {}", contextPath.toAbsolutePath());
for (WatchEvent<?> watchEvent : key.pollEvents()) {
Path child = resolvePathFromEvent(watchEvent, contextPath);
if (child == null) {
Expand Down

0 comments on commit 9ed81a0

Please sign in to comment.