Subversion Repositories SmartDukaan

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37491 36 d 20 h amit /trunk/ errors: ship ERROR events to GlitchTip via the log4j2 Sentry appender

io.sentry:sentry-log4j2:7.22.6 in all three deployables. Pinned to 7.x because
8.x drops Java 8; verified class major version 52.

minimumEventLevel=ERROR is load-bearing. It only became safe after r37490 moved
business validations to WARN -- 32% of the ERROR stream was HTTP 400s where the
user is simply told what to fix, and sending those would have made "insufficient
balance" the top issue and buried real bugs. Breadcrumbs come from INFO so an
issue arrives with the log lines that preceded it.

Attached to the application loggers only; framework noise is not our bug.

web's log4j2.xml is committed here. cron's and fofo's are held back: both carry
uncommitted local development paths (a user.home expansion, and an absolute
/Users path) that would break production logging and the Alloy log tailing.
Their Sentry blocks are staged locally and should land with whoever owns those
path edits.
 
35459 291 d 12 h amit /trunk/ Revert non-Java file changes from r35458  
35458 291 d 12 h amit /trunk/ Revert @Transactional(readOnly=true) - keep @Transactional only at Controller level

Changes:
- profitmandi-web: Controllers use @Transactional(rollbackFor = Throwable.class) at class level, removed method-level @Transactional(readOnly = true)
- profitmandi-fofo: Controllers use @Transactional(rollbackFor = Throwable.class) at class level, removed method-level @Transactional
- profitmandi-dao: Removed @Transactional from services/repositories

Exceptions (called from interceptors, need own transaction):
- RoleManager: @Transactional(readOnly = true) - called from interceptor for auth
- PartnerTypeChangeServiceImpl.getBestPartner(): @Transactional - called from JWTUtil via interceptor

Fixed javax.transaction.Transactional to org.springframework.transaction.annotation.Transactional
Fixed rollbackOn to rollbackFor for Spring compatibility
 
32599 1066 d 18 h ranu /trunk/ Added condition to restrict only one ScratchOffer per Customer per Campaign  
29620 1777 d 19 h amit.gupta /trunk/profitmandi-web/src/main/resources/  
29619 1777 d 19 h amit.gupta /trunk/profitmandi-web/src/main/resources/  
28099 2028 d 12 h amit.gupta /trunk/profitmandi-web/src/main/resources/  
28098 2028 d 12 h amit.gupta /trunk/profitmandi-web/src/main/resources/  
23609 3085 d 20 h govind /trunk/ trigger time changed in log4j2.xml  
23604 3086 d 20 h govind /trunk/profitmandi-web/src/main/resources/ trigger time changed in log4j2.xml  
23568 3095 d 15 h govind /trunk/ Fixed changes related to logging. Updated to log4j2