Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita6be0ab

Browse files
authored
Merge pull requestlowcoder-org#718 from lowcoder-org/add-logs-to-debug-api-stats-failure
Add Logs For Debugging Prod Issue
2 parentse5bbd35 +658e299 commita6be0ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎server/api-service/lowcoder-infra/src/main/java/org/lowcoder/infra/serverlog/ServerLogService.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ public Mono<Long> getApiUsageCount(String orgId, Boolean lastMonthOnly) {
5151
if(lastMonthOnly !=null &&lastMonthOnly) {
5252
LongstartMonthEpoch =LocalDateTime.now().minusMonths(1).with(TemporalAdjusters.firstDayOfMonth()).toEpochSecond(ZoneOffset.UTC)*1000;
5353
LongendMonthEpoch =LocalDateTime.now().minusMonths(1).with(TemporalAdjusters.lastDayOfMonth()).toEpochSecond(ZoneOffset.UTC)*1000;
54+
System.out.println("startMonthEpoch is: " +startMonthEpoch);
55+
System.out.println("endMonthEpoch is: " +endMonthEpoch);
5456
returnserverLogRepository.countByOrgIdAndCreateTimeBetween(orgId,startMonthEpoch,endMonthEpoch);
5557
}
5658
returnserverLogRepository.countByOrgId(orgId);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp