Skip to content

Comments

Implementation for logs in plugin#438

Open
deepikaSingh2711 wants to merge 2 commits intodevelopfrom
logEnhancement
Open

Implementation for logs in plugin#438
deepikaSingh2711 wants to merge 2 commits intodevelopfrom
logEnhancement

Conversation

@deepikaSingh2711
Copy link
Collaborator

@deepikaSingh2711 deepikaSingh2711 commented Feb 23, 2026

Describe your changes

This PR adds consistent logging across the SDM Plugin Java codebase to enhance observability and troubleshooting for attachment operations.

Logging Levels

DEBUG – Method entry/exit, cache lookups, flow decisions (e.g., "uploading as single chunk")
INFO – Key operations completed: uploads, folder creation, copy/move, service initialization
WARN – Recoverable issues: duplicates, unauthorized access, virus scan states, blocked MIME types
ERROR – Exceptions with stack traces, failed operations, HTTP errors

Log level Order: Debug,Info,Warn,Error and Fatal.

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist before requesting a review

  • I follow Java Development Guidelines for SAP
  • I have tested the functionality on my cloud environment.
  • I have provided sufficient automated/ unit tests for the code.
  • I have increased or maintained the test coverage.
  • I have ran integration tests on my cloud environment.
  • I have validated blackduck portal for any vulnerability after my commit.

Upload Screenshots/lists of the scenarios tested

  • I have Uploaded Screenshots or added lists of the scenarios tested in description

Single tenant Integration test
https://github.com/cap-java/sdm/actions/runs/22334787232

multi tenant Integration test
https://github.com/cap-java/sdm/actions/runs/22334795569

@deepikaSingh2711 deepikaSingh2711 changed the title Added logs Implementation for logs in Java plugin Feb 23, 2026
@deepikaSingh2711 deepikaSingh2711 changed the title Implementation for logs in Java plugin Implementation for logs in plugin Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant