diff --git a/smp-server-library/src/main/java/eu/europa/ec/edelivery/smp/services/ServiceGroupService.java b/smp-server-library/src/main/java/eu/europa/ec/edelivery/smp/services/ServiceGroupService.java
index 13d2593abc9c42e2e95108e9d7c317d7f81b26bd..6979334ddfbc690e9590495f0e181492e7400c38 100644
--- a/smp-server-library/src/main/java/eu/europa/ec/edelivery/smp/services/ServiceGroupService.java
+++ b/smp-server-library/src/main/java/eu/europa/ec/edelivery/smp/services/ServiceGroupService.java
@@ -47,9 +47,7 @@ import static org.apache.commons.lang3.StringUtils.isNotBlank;
 @Service
 public class ServiceGroupService {
 
-    private static final Logger log = LoggerFactory.getLogger(ServiceGroupService.class);
-
-    private static final Pattern DOMAIN_ID_PATTERN = Pattern.compile("[a-zA-Z0-9]+");
+    private static final Pattern DOMAIN_ID_PATTERN = Pattern.compile("[a-zA-Z0-9]{1,50}");
 
     @Autowired
     private CaseSensitivityNormalizer caseSensitivityNormalizer;
diff --git a/smp-webapp/src/main/resources/log4j.properties b/smp-webapp/src/main/resources/log4j.properties
index aeee963b02f1bdb0d0e0069ec1d6e9fbf6d32865..b760424a8f00935e80cb9e305497b0766223dfb7 100644
--- a/smp-webapp/src/main/resources/log4j.properties
+++ b/smp-webapp/src/main/resources/log4j.properties
@@ -20,7 +20,7 @@ log4j.appender.stdout=org.apache.log4j.ConsoleAppender
 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
 log4j.appender.stdout.layout.ConversionPattern=%d [%p] %c %x - %m%n
 
-log4j.logger.org.springframework=DEBUG
+# log4j.logger.org.springframework=DEBUG
 
 # Second appender to write to a logfile
 log4j.appender.logfile=org.apache.log4j.RollingFileAppender