remove logs

This commit is contained in:
Anthony Stirling
2025-01-04 13:12:34 +00:00
parent cf03bdc17b
commit 0136c25e1d
5 changed files with 13 additions and 23 deletions

View File

@@ -9,8 +9,6 @@ import org.springframework.core.env.PropertySource;
import org.springframework.core.io.support.EncodedResource;
import org.springframework.core.io.support.PropertySourceFactory;
import lombok.extern.slf4j.Slf4j;
@Slf4j
public class YamlPropertySourceFactory implements PropertySourceFactory {
@Override
@@ -20,15 +18,6 @@ public class YamlPropertySourceFactory implements PropertySourceFactory {
factory.setResources(encodedResource.getResource());
Properties properties = factory.getObject();
// Add debug logging
if (properties != null) {
log.info("Loaded properties count: {}", properties.size());
properties.forEach((key, value) ->
log.info("Property loaded - Key: {}, Value: {}", key, value));
} else {
log.warn("No properties loaded from resource");
}
return new PropertiesPropertySource(
encodedResource.getResource().getFilename(), properties);
}