Skip to content

Commit

Permalink
Reverted #10321.
Browse files Browse the repository at this point in the history
The warning message was causing confusion in case of multiple deployers.
See also #10437.

Signed-off-by: Simone Bordet <[email protected]>
  • Loading branch information
sbordet committed Aug 30, 2023
1 parent d09a95a commit 4289529
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,6 @@ public Path getPath()
@Override
public String toString()
{
return "App@%x[%s,%s,%s]".formatted(hashCode(), getEnvironmentName(), _context, _path);
return "%s@%x[%s,%s,%s]".formatted(getClass().getSimpleName(), hashCode(), getEnvironmentName(), _context, _path);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ protected App createApp(Path path)
}
}

LOG.warn("{} no environment for {}, ignoring", this, app);
if (LOG.isDebugEnabled())
LOG.debug("{} no environment for {}, default environment {}: deploy skipped", this, app, defaultEnvironmentName);
return null;
}

Expand Down Expand Up @@ -397,6 +398,6 @@ public void scan()
@Override
public String toString()
{
return String.format("%s@%x%s", this.getClass(), hashCode(), _monitored);
return String.format("%s@%x[%s,%s]", getClass().getSimpleName(), hashCode(), getEnvironmentName(), _monitored);
}
}

0 comments on commit 4289529

Please sign in to comment.