Skip to content

Commit 1abc86e

Browse files
removing logs
1 parent 1f86175 commit 1abc86e

2 files changed

Lines changed: 0 additions & 13 deletions

File tree

sdm/src/main/java/com/sap/cds/sdm/handler/applicationservice/SDMCreateAttachmentsHandler.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,7 @@ public SDMCreateAttachmentsHandler(
5353
@Before
5454
@HandlerOrder(HandlerOrder.EARLY)
5555
public void processBefore(CdsCreateEventContext context, List<CdsData> data) throws IOException {
56-
// Get comprehensive attachment composition details for each entity
57-
logger.info("CDS Data : " + data);
5856
logger.info("Target Entity : " + context.getTarget().getQualifiedName());
59-
logger.info("CDS Model : " + context.getModel());
6057
for (CdsData entityData : data) {
6158
Map<String, Map<String, String>> attachmentCompositionDetails =
6259
AttachmentsHandlerUtils.getAttachmentCompositionDetails(

sdm/src/main/java/com/sap/cds/sdm/handler/applicationservice/helper/AttachmentsHandlerUtils.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ public static Map<String, String> getAttachmentPathMapping(
7575
.forEach(
7676
composition -> processDirectAttachmentComposition(entity, pathMapping, composition));
7777

78-
logger.info("Path mapping after direct attachments: " + pathMapping.toString());
79-
8078
// Process nested attachments
8179
entity
8280
.compositions()
@@ -94,10 +92,6 @@ public static Map<String, String> getAttachmentPathMapping(
9492

9593
private static void processDirectAttachmentComposition(
9694
CdsEntity entity, Map<String, String> pathMapping, Object composition) {
97-
logger.info(
98-
"Processing direct attachment composition for entity: " + entity.getQualifiedName());
99-
logger.info("Composition details: " + composition.toString());
100-
logger.info("Current path mapping: " + pathMapping.toString());
10195
String compositionName = ((com.sap.cds.reflect.CdsElement) composition).getName();
10296
if (((com.sap.cds.reflect.CdsElement) composition).getType().isAssociation()) {
10397
CdsAssociationType associationType =
@@ -120,10 +114,6 @@ private static void processNestedAttachmentComposition(
120114
SDMAttachmentsReader reader,
121115
Map<String, String> pathMapping,
122116
Object composition) {
123-
logger.info(
124-
"Processing nested attachment composition for entity: " + entity.getQualifiedName());
125-
logger.info("Composition details: " + composition.toString());
126-
logger.info("Current path mapping: " + pathMapping.toString());
127117
String compositionName = ((com.sap.cds.reflect.CdsElement) composition).getName();
128118
String compositionTargetEntityName = "";
129119

0 commit comments

Comments
 (0)