Skip to content

Commit

Permalink
[#278] chore(TicketService): logging 추가 (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyerinhwang-sailin authored Dec 3, 2024
1 parent 1bc1520 commit 702d791
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ public TicketRetrieveResponse findAllTicketsByConditions(Long memberId, Long per
int totalPerformanceTicketCount = calculateTotalTicketCount(schedules);
int totalPerformanceSoldTicketCount = calculateTotalSoldTicketCount(schedules);

log.info("performanceId: {}", performanceId);
log.info("scheduleNumbers: {}", scheduleNumbers);
log.info("bookingStatuses: {}", bookingStatuses);
List<Booking> bookings = ticketRepository.findBookings(performanceId, scheduleNumbers, bookingStatuses);

return findTicketRetrieveResponse(performance, totalPerformanceTicketCount, totalPerformanceSoldTicketCount,
Expand Down Expand Up @@ -107,6 +110,10 @@ public TicketRetrieveResponse searchAllTicketsByConditions(Long memberId, Long p
.toList();
}

log.info("performanceId: {}", performanceId);
log.info("searchWord: {}", searchWord);
log.info("selectedScheduleNumbers: {}", selectedScheduleNumbers);
log.info("selectedBookingStatuses: {}", selectedBookingStatuses);
List<Booking> bookings = ticketRepository.searchBookings(
performanceId,
searchWord,
Expand Down

0 comments on commit 702d791

Please sign in to comment.