mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-14 22:43:57 +00:00
Bug 4657: Lowering priority of log entries regarding ShardingContext
from SEVERE to WARNING
This commit is contained in:
1 parent
51f8b2da66
commit
98fb6a0cb2
1 file changed
+2
-2
+2
-2
@@ -77,12 +77,12 @@ public class ShardingContext {
|
||||
*/
|
||||
public static void checkConstraint(final ShardingType type, final String shardingInfo) {
|
||||
if (shardingInfo == null || shardingInfo.isEmpty()) {
|
||||
logger.severe("Empty sharding constraint");
|
||||
logger.warning("Empty sharding constraint");
|
||||
return;
|
||||
}
|
||||
final ThreadLocal<String> shardingHolder = shardingMap.get(type);
|
||||
if (shardingHolder == null) {
|
||||
logger.log(Level.SEVERE, "No current sharding context set for " + type.name(), new RuntimeException());
|
||||
logger.log(Level.WARNING, "No current sharding context set for " + type.name(), new RuntimeException());
|
||||
return;
|
||||
}
|
||||
String currentShardingInfo = shardingHolder.get();
|
||||
|
||||
Reference in new issue
Block a user