zabetak commented on pull request #2432:
URL: https://github.com/apache/hive/pull/2432#issuecomment-951762656


   > So, what would the affect be if the time were to pass and another write 
request came in? Would it create a second file? Append to the end of an 
existing file? Is the original log files always deleted when the logger goes 
idle?
   
   The deletion of the log files is not handled by Log4j (not in this case at 
least). When the logger goes idle, the appender is closed along with the 
respective file descriptor but the file remains as is. When the appender comes 
back it will write to the same file; if for whatever reason the file is not 
there it will create a file with the same name and start writing there.


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