aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Auge2018-05-01 12:16:23 -0400
committerRaymond Auge2018-05-01 12:16:23 -0400
commit2d4acfd11bfc2872c443a83642ce52e840bb2ae7 (patch)
treeb503563980d8bb815c2946d9c2b2bf9e38735900
parentc942ec98252c2dfba35ef00852b30e6f22e5afba (diff)
downloadrt.equinox.bundles-2d4acfd11bfc2872c443a83642ce52e840bb2ae7.tar.gz
rt.equinox.bundles-2d4acfd11bfc2872c443a83642ce52e840bb2ae7.tar.xz
rt.equinox.bundles-2d4acfd11bfc2872c443a83642ce52e840bb2ae7.zip
Bug 534237 - [metatype] lower the log level for failures resulting from non-metatype resources found in the metatype dir to WARNING
Signed-off-by: Raymond Auge <raymond.auge@liferay.com>
-rw-r--r--bundles/org.eclipse.equinox.metatype/src/org/eclipse/equinox/metatype/impl/MetaTypeProviderImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.metatype/src/org/eclipse/equinox/metatype/impl/MetaTypeProviderImpl.java b/bundles/org.eclipse.equinox.metatype/src/org/eclipse/equinox/metatype/impl/MetaTypeProviderImpl.java
index 3ef511d0..add2567b 100644
--- a/bundles/org.eclipse.equinox.metatype/src/org/eclipse/equinox/metatype/impl/MetaTypeProviderImpl.java
+++ b/bundles/org.eclipse.equinox.metatype/src/org/eclipse/equinox/metatype/impl/MetaTypeProviderImpl.java
@@ -106,7 +106,7 @@ public class MetaTypeProviderImpl implements MetaTypeProvider {
}
}
} catch (Exception e) {
- logger.log(LogService.LOG_ERROR, NLS.bind(MetaTypeMsg.METADATA_FILE_PARSE_ERROR, new Object[] {entry, bundle.getBundleId(), bundle.getSymbolicName()}), e);
+ logger.log(LogService.LOG_WARNING, NLS.bind(MetaTypeMsg.METADATA_FILE_PARSE_ERROR, new Object[] {entry, bundle.getBundleId(), bundle.getSymbolicName()}), e);
}
}
return result;