rgoers commented on issue #2640: URL: https://github.com/apache/logging-log4j2/issues/2640#issuecomment-2159218799
We would need to see the logic you use to "close" the file at the end of the step. For your example it is also unclear what will happen if you have multiple instances of the same step running concurrently. If they are all using the same logger name and file name you will most certainly have problems However, this would be a lot easier if your didn't create a file for every step and instead included a unique step id for the step in every log record. But it is hard to provide a complete recommendation since we don't know what you are doing with the log files after they are closed. -- 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]
