virajjasani commented on PR #6102:
URL: https://github.com/apache/hadoop/pull/6102#issuecomment-1740286321

   Thank you for reporting this @zhengchenyu!
   
   We used to have 
`log4j.appender.CLA.totalLogFileSize=${yarn.app.container.log.filesize}`
   which would be set by:
   ```
     /**
      *  Setter so that log4j can configure it from the
      *  configuration(log4j.properties).
      *
      * @param logSize log size.
      */
     public void setTotalLogFileSize(long logSize) {
       maxEvents = (int)(logSize / EVENT_SIZE);
     }
   ```
   
   So didn't we already have the same value before?
   
   > Note: log4j.appender.{APPENDER}.MaxFileSize is not set before, then use 
default value 10M
   
   Could you please provide insights into where this default value is coming 
from?


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