aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/data/util/LegacyPropertyHelper.java
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-06-04 16:49:24 +0300
committerVaadin Code Review <review@vaadin.com>2013-06-05 07:50:41 +0000
commit54ed269820fa503b2289327457324477bb24f6f9 (patch)
tree8c38509d40cd0f2b345cb029b7dde3bf575063a5 /server/src/com/vaadin/data/util/LegacyPropertyHelper.java
parente6e752d4ad2d89c6df416fd7c17d6f18df0b33c5 (diff)
downloadvaadin-framework-54ed269820fa503b2289327457324477bb24f6f9.tar.gz
vaadin-framework-54ed269820fa503b2289327457324477bb24f6f9.zip
Log stack trace using fine when logging toString warnings
Change-Id: I4dbb5e84df78bad25fa90fc802309e433d516fd6
Diffstat (limited to 'server/src/com/vaadin/data/util/LegacyPropertyHelper.java')
-rw-r--r--server/src/com/vaadin/data/util/LegacyPropertyHelper.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/src/com/vaadin/data/util/LegacyPropertyHelper.java b/server/src/com/vaadin/data/util/LegacyPropertyHelper.java
index 551d7223d6..76bd57117d 100644
--- a/server/src/com/vaadin/data/util/LegacyPropertyHelper.java
+++ b/server/src/com/vaadin/data/util/LegacyPropertyHelper.java
@@ -60,6 +60,11 @@ public class LegacyPropertyHelper implements Serializable {
getLogger().log(Level.WARNING,
Constants.WARNING_LEGACY_PROPERTY_TOSTRING,
p.getClass().getName());
+ if (getLogger().isLoggable(Level.FINE)) {
+ getLogger().log(Level.FINE,
+ "Strack trace for legacy toString to ease debugging",
+ new Throwable());
+ }
}
/**