symious commented on PR #7965:
URL: https://github.com/apache/ozone/pull/7965#issuecomment-2690208039

   @nandakumar131 From what I understand, the "flooding the log file" is that 
for a delete audit log, there will be 20000~ blocks inside, so a single line 
would be huge and full of the blocks.
   
   But the current allocate block audit log already exists as follows:
   ```
   2025-02-25 09:45:33,239 | INFO  | SCMAudit | user=hadoop | ip=192.168.240.9 
| op=ALLOCATE_BLOCK {replication=RATIS/ONE, owner=omservice, size=268435456| 
ret=SUCCESS |  
   ```
   only two new fields are added "blocks=[conID: 1 locID: 115816896921600001], 
num=1, client=, allocated=1} ", so it will not cause the flood.
   
   And for adding the log in debug, since we debug is turned off by default, so 
when we want to track some issues, we can not get the info by turn on debug 
mode.


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to