This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 33ce515 Polished
33ce515 is described below
commit 33ce515989d83dc2ec68309bba1cb00efe3dbd0f
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Jan 25 13:58:01 2022 +0100
Polished
---
.../src/main/java/org/apache/camel/support/LoggerHelper.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/core/camel-support/src/main/java/org/apache/camel/support/LoggerHelper.java
b/core/camel-support/src/main/java/org/apache/camel/support/LoggerHelper.java
index 5c7d836..7d37883 100644
---
a/core/camel-support/src/main/java/org/apache/camel/support/LoggerHelper.java
+++
b/core/camel-support/src/main/java/org/apache/camel/support/LoggerHelper.java
@@ -48,6 +48,8 @@ public final class LoggerHelper {
// is it a class or file?
name = loc;
if (loc.contains(":")) {
+ // strip prefix
+ loc = loc.substring(loc.indexOf(':') + 1);
// file based such as xml and yaml
name = FileUtil.stripPath(loc);
} else {