sureshanaparti commented on code in PR #9873:
URL: https://github.com/apache/cloudstack/pull/9873#discussion_r1900124901
##########
server/src/main/java/com/cloud/usage/UsageServiceImpl.java:
##########
@@ -190,7 +190,7 @@ public Pair<List<? extends Usage>, Integer>
getUsageRecords(ListUsageRecordsCmd
//List records for all the accounts if the caller account is of
type admin.
//If account_id or account_name is explicitly mentioned, list
records for the specified account only even if the caller is of type admin
ignoreAccountId = _accountService.isRootAdmin(caller.getId());
- logger.debug("Account details not available. Using userContext
accountId: " + accountId);
+ logger.debug("Account details not available. Using userContext
accountId: {}", caller);
Review Comment:
```suggestion
logger.debug("Account details not available. Using userContext
account: {}", caller);
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]